gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r37862 - libmicrohttpd/src/microhttpd


From: gnunet
Subject: [GNUnet-SVN] r37862 - libmicrohttpd/src/microhttpd
Date: Sun, 4 Sep 2016 12:48:18 +0200

Author: grothoff
Date: 2016-09-04 12:48:18 +0200 (Sun, 04 Sep 2016)
New Revision: 37862

Modified:
   libmicrohttpd/src/microhttpd/test_upgrade_ssl.c
Log:
-remove debug logic from test

Modified: libmicrohttpd/src/microhttpd/test_upgrade_ssl.c
===================================================================
--- libmicrohttpd/src/microhttpd/test_upgrade_ssl.c     2016-09-04 10:47:22 UTC 
(rev 37861)
+++ libmicrohttpd/src/microhttpd/test_upgrade_ssl.c     2016-09-04 10:48:18 UTC 
(rev 37862)
@@ -245,24 +245,14 @@
 {
   struct MHD_UpgradeResponseHandle *urh = cls;
 
-  fprintf (stderr,
-           "Sending `Hello'\n");
   send_all (usock,
             "Hello");
-  fprintf (stderr,
-           "Receiving `World'\n");
   recv_all (usock,
             "World");
-  fprintf (stderr,
-           "Sending `Finished'\n");
   send_all (usock,
             "Finished");
-  fprintf (stderr,
-           "Closing socket\n");
   MHD_upgrade_action (urh,
                       MHD_UPGRADE_ACTION_CLOSE);
-  fprintf (stderr,
-           "Thread terminating\n");
   return NULL;
 }
 
@@ -430,22 +420,16 @@
   recv_hdr (sock);
   recv_all (sock,
             "Hello");
-  fprintf (stderr,
-           "Received `Hello'\n");
   send_all (sock,
             "World");
-  fprintf (stderr,
-           "Sent `World'\n");
   recv_all (sock,
             "Finished");
-  fprintf (stderr,
-           "Received `Finished'\n");
   MHD_socket_close_ (sock);
   pthread_join (pt,
                 NULL);
-  fprintf (stderr,
-           "Joined helper thread\n");
-  waitpid (pid, NULL, 0);
+  waitpid (pid,
+           NULL,
+           0);
   MHD_stop_daemon (d);
   return 0;
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]