Index: /trunk/BNC/bncrinex.cpp
===================================================================
--- /trunk/BNC/bncrinex.cpp	(revision 336)
+++ /trunk/BNC/bncrinex.cpp	(revision 337)
@@ -65,5 +65,5 @@
   _statID        = StatID;
   _mountPoint    = mountPoint;
-  _format        = format;
+  _format        = format.left(6);
   _headerWritten = false;
 
@@ -334,6 +334,6 @@
                                 "    hh    mm   ss.zzz0000").toAscii().data();
         _out << "                 TIME OF FIRST OBS"    << endl;
-        QString hlp = QString("STREAM %1").arg(_mountPoint.host() + _mountPoint.path())
-                             .leftJustified(60, ' ', true);
+        QString hlp = (_format + QString(" %1").arg(_mountPoint.host() + 
+                      _mountPoint.path())).leftJustified(60, ' ', true);
         _out << hlp.toAscii().data() << "COMMENT" << endl;
       }
@@ -377,6 +377,6 @@
                                 "    hh    mm   ss.zzz0000").toAscii().data();
     _out << "                 "                                      << "TIME OF FIRST OBS"    << endl;
-    hlp = QString("STREAM %1").arg(_mountPoint.host() + _mountPoint.path())
-                                             .leftJustified(60, ' ', true);
+    hlp = (_format + QString(" %1").arg(_mountPoint.host() + 
+          _mountPoint.path())).leftJustified(60, ' ', true);
     _out << hlp.toAscii().data() << "COMMENT" << endl;
     _out << "                                                            END OF HEADER"        << endl;
