Index: /trunk/BNC/bncephuser.cpp
===================================================================
--- /trunk/BNC/bncephuser.cpp	(revision 3011)
+++ /trunk/BNC/bncephuser.cpp	(revision 3012)
@@ -91,6 +91,5 @@
     t_ephGPS* eLast = new t_ephGPS();
     eLast->set(&gpseph);
-    _eph.insert(prn, new t_ephPair());
-    _eph[prn]->last = eLast;
+    _eph.insert(prn, new t_ephPair(eLast));
   }
 }
@@ -119,6 +118,5 @@
     t_ephGlo* eLast = new t_ephGlo();
     eLast->set(&gloeph);
-    _eph.insert(prn, new t_ephPair());
-    _eph[prn]->last = eLast;
+    _eph.insert(prn, new t_ephPair(eLast));
   }
 }
@@ -145,6 +143,5 @@
     t_ephGal* eLast = new t_ephGal();
     eLast->set(&galeph);
-    _eph.insert(prn, new t_ephPair());
-    _eph[prn]->last = eLast;
+    _eph.insert(prn, new t_ephPair(eLast));
   }
 }
Index: /trunk/BNC/bncephuser.h
===================================================================
--- /trunk/BNC/bncephuser.h	(revision 3011)
+++ /trunk/BNC/bncephuser.h	(revision 3012)
@@ -42,4 +42,5 @@
     raoSet  = false;
     dClkSet = false;
+    eph     = 0;
   }
   bool ready() {return raoSet && dClkSet;}
@@ -67,4 +68,5 @@
   bool         raoSet;
   bool         dClkSet;
+  t_eph*       eph;
 };
 
@@ -85,6 +87,6 @@
   class t_ephPair {
    public:
-    t_ephPair() {
-      last = 0;
+    t_ephPair(t_eph* lastEph) {
+      last = lastEph;
       prev = 0;
     }
