[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r29944 - gnunet/src/topology
From: |
gnunet |
Subject: |
[GNUnet-SVN] r29944 - gnunet/src/topology |
Date: |
Mon, 7 Oct 2013 21:28:15 +0200 |
Author: grothoff
Date: 2013-10-07 21:28:15 +0200 (Mon, 07 Oct 2013)
New Revision: 29944
Modified:
gnunet/src/topology/friends.c
Log:
-fix friends file parser logic, a NOT operator is a wonderful thing sometimes
Modified: gnunet/src/topology/friends.c
===================================================================
--- gnunet/src/topology/friends.c 2013-10-07 18:52:03 UTC (rev 29943)
+++ gnunet/src/topology/friends.c 2013-10-07 19:28:15 UTC (rev 29944)
@@ -89,7 +89,7 @@
pos = 0;
while (pos < fsize)
{
- while ((pos < fsize) && isspace ((unsigned char) data[pos]))
+ while ((pos < fsize) && (! isspace ((int) data[pos])))
pos++;
if (GNUNET_OK !=
GNUNET_CRYPTO_ecc_public_sign_key_from_string (&data[start],
@@ -97,7 +97,7 @@
&pid.public_key))
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
- _("Syntax error in topology specification at offset %llu,
skipping bytes `%.*s'.\n"),
+ _("Syntax error in FRIENDS file at offset %llu, skipping
bytes `%.*s'.\n"),
(unsigned long long) pos,
(int) (pos - start),
&data[start]);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r29944 - gnunet/src/topology,
gnunet <=