Bump year
[yazpp-moved-to-github.git] / src / yaz-my-server.cpp
index 0ef28ae..01a74aa 100644 (file)
@@ -1,8 +1,11 @@
 /* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2011 Index Data and Mike Taylor
+ * Copyright (C) 1998-2013 Index Data and Mike Taylor
  * See the file LICENSE for details.
  */
 
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <stdlib.h>
 #include <yaz/log.h>
 #include <yaz/diagbib1.h>
@@ -191,14 +194,14 @@ int main(int argc, char **argv)
     char *prog = *argv;
     const char *addr = "tcp:@:9999";
     char *apdu_log = 0;
-    
+
     SocketManager mySocketManager;
-    
+
     PDU_Assoc *my_PDU_Assoc = 0;
-    
+
     MyServer *z = 0;
     int ret;
-    
+
     while ((ret = options("a:v:T", argv, argc, &arg)) != -2)
     {
         switch (ret)
@@ -228,7 +231,7 @@ int main(int argc, char **argv)
 #else
     my_PDU_Assoc = new PDU_Assoc(&mySocketManager);
 #endif
-    
+
     z = new MyServer(my_PDU_Assoc);
     z->server(addr);
     if (apdu_log)