gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r33739 - libmicrohttpd/src/microhttpd
Date: Fri, 20 Jun 2014 15:28:30 +0200

Author: grothoff
Date: 2014-06-20 15:28:29 +0200 (Fri, 20 Jun 2014)
New Revision: 33739

Modified:
   libmicrohttpd/src/microhttpd/connection.c
Log:
-spell Keep-Alive consistently

Modified: libmicrohttpd/src/microhttpd/connection.c
===================================================================
--- libmicrohttpd/src/microhttpd/connection.c   2014-06-19 22:31:03 UTC (rev 
33738)
+++ libmicrohttpd/src/microhttpd/connection.c   2014-06-20 13:28:29 UTC (rev 
33739)
@@ -586,7 +586,7 @@
        (0 != strcasecmp (have_close, "close")) )
     have_close = NULL;
   if ( (NULL != have_keepalive) &&
-       (0 != strcasecmp (have_keepalive, "keep-alive")) )
+       (0 != strcasecmp (have_keepalive, "Keep-Alive")) )
     have_keepalive = NULL;
   connection->have_chunked_upload = MHD_NO;
   add_close = MHD_NO;
@@ -1923,7 +1923,7 @@
   enc = MHD_lookup_connection_value (connection,
                                     MHD_HEADER_KIND,
                                     MHD_HTTP_HEADER_TRANSFER_ENCODING);
-  if (enc != NULL)
+  if (NULL != enc)
     {
       connection->remaining_upload_size = MHD_SIZE_UNKNOWN;
       if (0 == strcasecmp (enc, "chunked"))
@@ -1934,7 +1934,7 @@
       clen = MHD_lookup_connection_value (connection,
                                          MHD_HEADER_KIND,
                                          MHD_HTTP_HEADER_CONTENT_LENGTH);
-      if (clen != NULL)
+      if (NULL != clen)
         {
           cval = strtoul (clen, &end, 10);
           if ( ('\0' != *end) ||




reply via email to

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