aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/internal.c
diff options
context:
space:
mode:
authorlv-426 <oxcafebaby@yahoo.com>2008-09-08 22:39:05 +0000
committerlv-426 <oxcafebaby@yahoo.com>2008-09-08 22:39:05 +0000
commit04a3265002dbc3971c3ed0e552565d3c9e53754f (patch)
tree6dced28931d1b4f2fab63df668771746d8f232b4 /src/daemon/internal.c
parent4f5e8029080c325197950cbea29ac24fd074b90f (diff)
downloadlibmicrohttpd-04a3265002dbc3971c3ed0e552565d3c9e53754f.tar.gz
libmicrohttpd-04a3265002dbc3971c3ed0e552565d3c9e53754f.zip
some test fixes
tls connection teardown upon unrecognized message type connection state dictionary compiles based on 'enable_messages'
Diffstat (limited to 'src/daemon/internal.c')
-rw-r--r--src/daemon/internal.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/daemon/internal.c b/src/daemon/internal.c
index 38fd5771..9d0f3d7d 100644
--- a/src/daemon/internal.c
+++ b/src/daemon/internal.c
@@ -26,7 +26,10 @@
26 26
27#include "internal.h" 27#include "internal.h"
28 28
29#if DEBUG_STATES 29#if HAVE_MESSAGES
30/**
31 * State to string dictionary.
32 */
30char * 33char *
31MHD_state_to_string (enum MHD_CONNECTION_STATE state) 34MHD_state_to_string (enum MHD_CONNECTION_STATE state)
32{ 35{
@@ -80,8 +83,9 @@ MHD_state_to_string (enum MHD_CONNECTION_STATE state)
80 return "secure handshake failed"; 83 return "secure handshake failed";
81 case MHD_TLS_HANDSHAKE_COMPLETE: 84 case MHD_TLS_HANDSHAKE_COMPLETE:
82 return "secure handshake _complete"; 85 return "secure handshake _complete";
86 default:
87 return "unrecognized connection state";
83 } 88 }
84 return "unrecognized connection state";
85} 89}
86#endif 90#endif
87 91