gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r29263 - gnunet/src/fs


From: gnunet
Subject: [GNUnet-SVN] r29263 - gnunet/src/fs
Date: Sun, 15 Sep 2013 18:01:27 +0200

Author: grothoff
Date: 2013-09-15 18:01:27 +0200 (Sun, 15 Sep 2013)
New Revision: 29263

Modified:
   gnunet/src/fs/fs_api.c
Log:
-fix check of return value

Modified: gnunet/src/fs/fs_api.c
===================================================================
--- gnunet/src/fs/fs_api.c      2013-09-15 15:54:12 UTC (rev 29262)
+++ gnunet/src/fs/fs_api.c      2013-09-15 16:01:27 UTC (rev 29263)
@@ -1634,9 +1634,9 @@
        GNUNET_BIO_write_string (wh,
                                 (NULL == pc->fi_pos) ? NULL : 
pc->fi_pos->serialization)) ||
       ( (NULL != pc->ns) &&
-       GNUNET_BIO_write (wh,
-                         pc->ns,
-                         sizeof (struct GNUNET_CRYPTO_EccPrivateKey)) ) )
+       (GNUNET_OK != GNUNET_BIO_write (wh,
+                                       pc->ns,
+                                       sizeof (struct 
GNUNET_CRYPTO_EccPrivateKey)) ) ))
   {
     GNUNET_break (0);
     goto cleanup;




reply via email to

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