aboutsummaryrefslogtreecommitdiff
path: root/doc/examples/logging.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/logging.c')
-rw-r--r--doc/examples/logging.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/examples/logging.c b/doc/examples/logging.c
index 27545231..c896a7dd 100644
--- a/doc/examples/logging.c
+++ b/doc/examples/logging.c
@@ -22,6 +22,7 @@ print_out_key (void *cls, enum MHD_ValueKind kind, const char *key,
22 return MHD_YES; 22 return MHD_YES;
23} 23}
24 24
25
25static int 26static int
26answer_to_connection (void *cls, struct MHD_Connection *connection, 27answer_to_connection (void *cls, struct MHD_Connection *connection,
27 const char *url, const char *method, 28 const char *url, const char *method,
@@ -36,6 +37,7 @@ answer_to_connection (void *cls, struct MHD_Connection *connection,
36 return MHD_NO; 37 return MHD_NO;
37} 38}
38 39
40
39int 41int
40main () 42main ()
41{ 43{
@@ -46,7 +48,7 @@ main ()
46 if (NULL == daemon) 48 if (NULL == daemon)
47 return 1; 49 return 1;
48 50
49 getchar (); 51 (void) getchar ();
50 52
51 MHD_stop_daemon (daemon); 53 MHD_stop_daemon (daemon);
52 return 0; 54 return 0;