gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r9635 - in GNUnet/src/applications: fs/ecrs session


From: gnunet
Subject: [GNUnet-SVN] r9635 - in GNUnet/src/applications: fs/ecrs session
Date: Sun, 22 Nov 2009 13:23:41 -0700

Author: grothoff
Date: 2009-11-22 13:23:41 -0700 (Sun, 22 Nov 2009)
New Revision: 9635

Modified:
   GNUnet/src/applications/fs/ecrs/downloadtest.c
   GNUnet/src/applications/session/sessiontest.c
Log:
stylistic fixes

Modified: GNUnet/src/applications/fs/ecrs/downloadtest.c
===================================================================
--- GNUnet/src/applications/fs/ecrs/downloadtest.c      2009-11-22 20:19:04 UTC 
(rev 9634)
+++ GNUnet/src/applications/fs/ecrs/downloadtest.c      2009-11-22 20:23:41 UTC 
(rev 9635)
@@ -153,6 +153,7 @@
                                                           NULL))
         {
           fd = GNUNET_disk_file_open (NULL, tmpName, O_RDONLY);
+         GNUNET_assert (fd != -1);
           if ((size != READ (fd, in, size)) ||
               (0 != memcmp (&buf[j], &in[j], 16 * 1024)))
             {

Modified: GNUnet/src/applications/session/sessiontest.c
===================================================================
--- GNUnet/src/applications/session/sessiontest.c       2009-11-22 20:19:04 UTC 
(rev 9634)
+++ GNUnet/src/applications/session/sessiontest.c       2009-11-22 20:23:41 UTC 
(rev 9635)
@@ -81,7 +81,7 @@
       return -1;
     }
 #endif
-  GNUNET_TESTING_connect_daemons (2087, 12087);
+  GNUNET_assert (GNUNET_OK == GNUNET_TESTING_connect_daemons (2087, 12087));
   if (GNUNET_OK ==
       GNUNET_wait_for_daemon_running (NULL, cfg, 30 * GNUNET_CRON_SECONDS))
     {





reply via email to

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