[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r37372 - gnunet/src/identity
From: |
gnunet |
Subject: |
[GNUnet-SVN] r37372 - gnunet/src/identity |
Date: |
Sat, 25 Jun 2016 19:30:48 +0200 |
Author: grothoff
Date: 2016-06-25 19:30:47 +0200 (Sat, 25 Jun 2016)
New Revision: 37372
Modified:
gnunet/src/identity/identity_api.c
Log:
-fix bad check
Modified: gnunet/src/identity/identity_api.c
===================================================================
--- gnunet/src/identity/identity_api.c 2016-06-25 16:05:25 UTC (rev 37371)
+++ gnunet/src/identity/identity_api.c 2016-06-25 17:30:47 UTC (rev 37372)
@@ -311,7 +311,7 @@
if (0 == size)
return GNUNET_OK;
- if ('\0' != str[size - sizeof (*rcm) - 1])
+ if ('\0' != str[size - 1])
{
GNUNET_break (0);
return GNUNET_SYSERR;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r37372 - gnunet/src/identity,
gnunet <=