gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r257 - GNUnet/src/server branches/GNUnet06/src/server


From: grothoff
Subject: [GNUnet-SVN] r257 - GNUnet/src/server branches/GNUnet06/src/server
Date: Sun, 13 Feb 2005 18:21:21 -0800 (PST)

Author: grothoff
Date: 2005-02-13 18:21:20 -0800 (Sun, 13 Feb 2005)
New Revision: 257

Modified:
   GNUnet/src/server/core.c
   branches/GNUnet06/src/server/core.c
Log:
config parsing fix - for multiple spaces in APPLICATION line

Modified: GNUnet/src/server/core.c
===================================================================
--- GNUnet/src/server/core.c    2005-02-13 11:32:38 UTC (rev 256)
+++ GNUnet/src/server/core.c    2005-02-14 02:21:20 UTC (rev 257)
@@ -439,6 +439,8 @@
   }
   next = dso;
   do {
+    while (*next == ' ')
+      next++;
     pos = next;
     while ( (*next != '\0') &&
            (*next != ' ') )

Modified: branches/GNUnet06/src/server/core.c
===================================================================
--- branches/GNUnet06/src/server/core.c 2005-02-13 11:32:38 UTC (rev 256)
+++ branches/GNUnet06/src/server/core.c 2005-02-14 02:21:20 UTC (rev 257)
@@ -637,7 +637,9 @@
       dso);
   next = dso;
   do {
-    pos = next;
+    while (*next == ' ')
+      next++;
+    pos = next;    
     while ( (*next != '\0') &&
            (*next != ' ') )
       next++;





reply via email to

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