First WIN32 port of YAZ++.
[yazpp-moved-to-github.git] / src / yaz-proxy-main.cpp
index 20592b4..320a92a 100644 (file)
@@ -4,11 +4,20 @@
  * Sebastian Hammer, Adam Dickmeiss
  * 
  * $Log: yaz-proxy-main.cpp,v $
- * Revision 1.1  1999-01-28 09:41:07  adam
- * Initial revision
+ * Revision 1.3  1999-02-02 14:01:21  adam
+ * First WIN32 port of YAZ++.
+ *
+ * Revision 1.2  1999/01/28 13:08:45  adam
+ * Yaz_PDU_Assoc better encapsulated. Memory leak fix in
+ * yaz-socket-manager.cc.
+ *
+ * Revision 1.1.1.1  1999/01/28 09:41:07  adam
+ * First implementation of YAZ++.
  *
  */
 
+#include <log.h>
+
 #include <yaz-socket-manager.h>
 #include <yaz-pdu-assoc.h>
 #include <yaz-proxy.h>
@@ -16,8 +25,7 @@
 int main(int argc, char **argv)
 {
     Yaz_SocketManager mySocketManager;
-    Yaz_PDU_Assoc *my_PDU_Assoc = new Yaz_PDU_Assoc(&mySocketManager, 0);
-    Yaz_Proxy proxy(my_PDU_Assoc);
+    Yaz_Proxy proxy(new Yaz_PDU_Assoc(&mySocketManager, 0));
     
     proxy.server("@:9999");
     while (mySocketManager.processEvent() > 0)