Index: trunk/BNC/bncapp.cpp
===================================================================
--- trunk/BNC/bncapp.cpp	(revision 517)
+++ trunk/BNC/bncapp.cpp	(revision 518)
@@ -176,5 +176,5 @@
     *_ephStream << QDate::currentDate().toString("yy-MM-dd ").toAscii().data();
     *_ephStream << QTime::currentTime().toString("hh:mm:ss ").toAscii().data();
-    _ephFile->flush();
+    _ephStream->flush();
   }
 }
@@ -185,5 +185,5 @@
   if (_ephStream) {
     *_ephStream << "GPS: "  << ep->satellite << endl;
-    _ephFile->flush();
+    _ephStream->flush();
   }
 }
@@ -194,5 +194,5 @@
   if (_ephStream) {
     *_ephStream << "GLONASS: "  << ep->almanac_number << endl;
-    _ephFile->flush();
+    _ephStream->flush();
   }
 }
