gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r7669 - libmicrohttpd/src/daemon


From: gnunet
Subject: [GNUnet-SVN] r7669 - libmicrohttpd/src/daemon
Date: Mon, 8 Sep 2008 00:09:19 -0600 (MDT)

Author: grothoff
Date: 2008-09-08 00:09:19 -0600 (Mon, 08 Sep 2008)
New Revision: 7669

Modified:
   libmicrohttpd/src/daemon/internal.c
Log:
capitalize

Modified: libmicrohttpd/src/daemon/internal.c
===================================================================
--- libmicrohttpd/src/daemon/internal.c 2008-09-08 06:08:44 UTC (rev 7668)
+++ libmicrohttpd/src/daemon/internal.c 2008-09-08 06:09:19 UTC (rev 7669)
@@ -106,12 +106,10 @@
 MHD_tls_log_func (int level, const char *str)
 {
 #ifdef DEBUG
-  fprintf (stdout, "|<%d>| %s", level, str);
+  FPRINTF (stdout, "|<%d>| %s", level, str);
 #endif
 }
 
-
-
 /**
  * Process escape sequences ('+'=space, %HH)
  */
@@ -125,8 +123,10 @@
     *esc = ' ';
   while (NULL != (esc = strstr (val, "%")))
     {
-      if ((1 == sscanf (&esc[1],
-                        "%2x", &num)) || (1 == sscanf (&esc[1], "%2X", &num)))
+      if ((1 == SSCANF (&esc[1],
+                        "%2x", &num)) || 
+         (1 == SSCANF (&esc[1],
+                       "%2X", &num)))
         {
           esc[0] = (unsigned char) num;
           memmove (&esc[1], &esc[3], strlen (&esc[3]) + 1);





reply via email to

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