Index: trunk/Ohana/src/addstar/doc/Changes.txt
===================================================================
--- trunk/Ohana/src/addstar/doc/Changes.txt	(revision 5385)
+++ trunk/Ohana/src/addstar/doc/Changes.txt	(revision 5386)
@@ -1,2 +1,15 @@
+
+2005.10.19
+
+	I have added the client / server mode, and tested it out to a
+	fair degree.  It handles all of the available addstar modes,
+	including -ref and -cat.  A handful of things still need to be
+	done, including pushing some of the logic to enforce sorting
+	into the dvo load_catalog functions.  Also, I need to correct
+	the idiosyncratic problem with sky vs Myyyy for the skyprobe
+	data.  There are a handful of other improvements that are
+	needed before addstar / DVO is ready for IPP release.
+	However, at this point, it is ready for internal use by the
+	grad students, but not yet ready for CFHT use with Elixir.
 
 2005.10.07
Index: trunk/Ohana/src/addstar/src/get2mass.c
===================================================================
--- trunk/Ohana/src/addstar/src/get2mass.c	(revision 5385)
+++ trunk/Ohana/src/addstar/src/get2mass.c	(revision 5386)
@@ -28,4 +28,5 @@
 
   for (i = 0; i < Nregions; i++) {
+    refcat = NULL;
     switch (mode) {
       case 0:
Index: trunk/Ohana/src/addstar/src/get2mass_as.c
===================================================================
--- trunk/Ohana/src/addstar/src/get2mass_as.c	(revision 5385)
+++ trunk/Ohana/src/addstar/src/get2mass_as.c	(revision 5386)
@@ -16,5 +16,5 @@
   
   int FilterSkip, TimeSkip;
-  int Nstars, NSTARS, Nbyte, Nextra, code, Qentry;
+  int Nstars, NSTARS, Nbyte, Nextra, Qentry;
   Stars *stars;
   gzFile gf;
@@ -33,5 +33,5 @@
   DEC1 = MIN (patch[0].DEC[1], UserPatch.DEC[1]);
 
-  FilterSkip = TimeSkip = 0;
+  FilterSkip = TimeSkip = Qentry = 0;
   if (photcode == TM_J) {
       FilterSkip = 6;
@@ -102,5 +102,5 @@
       stars[Nstars].M     = M;
       stars[Nstars].dM    = dM;
-      stars[Nstars].code  = code;
+      stars[Nstars].code  = photcode;
       stars[Nstars].t     = time;
       stars[Nstars].found = -1;
