summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar snowdrop2004-05-12 22:19:13 +0000
committerGravatar snowdrop2004-05-12 22:19:13 +0000
commitf6675231093792af943184289b20d643ed5d5d3a (patch)
treeed5aa95c632543568ae6bedd94caa5f6bfb3d748
parent4a4c380d861601dba7d532d1b5820c71839e7062 (diff)
downloadcsoap-f6675231093792af943184289b20d643ed5d5d3a.tar.gz
csoap-f6675231093792af943184289b20d643ed5d5d3a.tar.bz2
removed soap_router_free()
-rw-r--r--examples/csoap/simpleserver.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/csoap/simpleserver.c b/examples/csoap/simpleserver.c
index ecdc060..0a3d434 100644
--- a/examples/csoap/simpleserver.c
+++ b/examples/csoap/simpleserver.c
@@ -1,5 +1,5 @@
/******************************************************************
- * $Id: simpleserver.c,v 1.1 2004/02/03 08:58:34 snowdrop Exp $
+ * $Id: simpleserver.c,v 1.2 2004/05/12 22:19:13 snowdrop Exp $
*
* CSOAP Project: CSOAP examples project
* Copyright (C) 2003 Ferhat Ayaz
@@ -81,9 +81,10 @@ int main(int argc, char *argv[])
soap_router_register_service(router, say_hello, method, urn);
soap_server_register_router(router, url);
+ log_info1("send SIGTERM to shutdown");
soap_server_run();
- soap_router_free(router);
+ log_info1("shutting down\n");
soap_server_destroy();
return 0;