Little mods.
[yaz-moved-to-github.git] / server / statserv.c
index 69de493..f5fb325 100644 (file)
@@ -4,7 +4,13 @@
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: statserv.c,v $
- * Revision 1.11  1995-03-30 12:18:17  quinn
+ * Revision 1.13  1995-03-30 16:08:39  quinn
+ * Little mods.
+ *
+ * Revision 1.12  1995/03/30  13:29:02  quinn
+ * Smallish
+ *
+ * Revision 1.11  1995/03/30  12:18:17  quinn
  * Fixed bug.
  *
  * Revision 1.10  1995/03/29  15:40:16  quinn
@@ -59,7 +65,9 @@
 #include <eventl.h>
 #include <comstack.h>
 #include <tcpip.h>
+#ifdef USE_XTIMOSI
 #include <xmosi.h>
+#endif
 #include <dmalloc.h>
 #include <log.h>
 
@@ -214,6 +222,7 @@ static void add_listener(char *where, int what)
        }
        type = tcpip_type;
     }
+#ifdef USE_XTIMOSI
     else if (!strcmp(mode, "osi"))
     {
        if (!(ap = mosi_strtoaddr(addr)))
@@ -223,6 +232,7 @@ static void add_listener(char *where, int what)
        }
        type = mosi_type;
     }
+#endif
     else
     {
        fprintf(stderr, "You must specify either 'osi:' or 'tcp:'.\n");