diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-11-13 18:52:33 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-11-13 18:52:33 +0100 |
commit | 53673f6b2174dd752abde08c0181093e9aca7b71 (patch) | |
tree | ab13593c8e1848d088086a6bf9891eff88c88b07 /src/testcurl/test_quiesce_stream.c | |
parent | 280232dc1e9a6e26b13530c5e576880151935b19 (diff) | |
download | libmicrohttpd-53673f6b2174dd752abde08c0181093e9aca7b71.tar.gz libmicrohttpd-53673f6b2174dd752abde08c0181093e9aca7b71.zip |
use 'bool' for a few more internal fields
Diffstat (limited to 'src/testcurl/test_quiesce_stream.c')
-rw-r--r-- | src/testcurl/test_quiesce_stream.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testcurl/test_quiesce_stream.c b/src/testcurl/test_quiesce_stream.c index bee95486..d658b719 100644 --- a/src/testcurl/test_quiesce_stream.c +++ b/src/testcurl/test_quiesce_stream.c | |||
@@ -57,6 +57,7 @@ resume_connection (void *arg) | |||
57 | { | 57 | { |
58 | struct MHD_Connection *connection = arg; | 58 | struct MHD_Connection *connection = arg; |
59 | 59 | ||
60 | fprintf (stderr, "Calling resume\n"); | ||
60 | MHD_resume_connection (connection); | 61 | MHD_resume_connection (connection); |
61 | return NULL; | 62 | return NULL; |
62 | } | 63 | } |
@@ -67,6 +68,7 @@ suspend_connection (struct MHD_Connection *connection) | |||
67 | { | 68 | { |
68 | pthread_t thread_id; | 69 | pthread_t thread_id; |
69 | 70 | ||
71 | fprintf (stderr, "Calling suspend\n"); | ||
70 | MHD_suspend_connection (connection); | 72 | MHD_suspend_connection (connection); |
71 | int status = pthread_create (&thread_id, | 73 | int status = pthread_create (&thread_id, |
72 | NULL, | 74 | NULL, |