gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r8614 - GNUnet/src/applications/sqstore_mysql


From: gnunet
Subject: [GNUnet-SVN] r8614 - GNUnet/src/applications/sqstore_mysql
Date: Wed, 1 Jul 2009 13:05:09 -0600

Author: nevans
Date: 2009-07-01 13:05:09 -0600 (Wed, 01 Jul 2009)
New Revision: 8614

Modified:
   GNUnet/src/applications/sqstore_mysql/mysql.c
Log:


Modified: GNUnet/src/applications/sqstore_mysql/mysql.c
===================================================================
--- GNUnet/src/applications/sqstore_mysql/mysql.c       2009-07-01 18:38:24 UTC 
(rev 8613)
+++ GNUnet/src/applications/sqstore_mysql/mysql.c       2009-07-01 19:05:09 UTC 
(rev 8614)
@@ -448,16 +448,15 @@
   GNUNET_GE_BREAK (NULL, ret <= 1);     /* should only have one result! */
   if (ret > 0)
     ret = GNUNET_OK;
-  if ( (ret != GNUNET_OK) ||
-       (rbind[0].buffer_length != contentSize) || 
-       (length != contentSize))
+  if ((ret != GNUNET_OK) ||
+      (rbind[0].buffer_length != contentSize) || (length != contentSize))
     {
-      GNUNET_GE_BREAK (NULL, ret != 0);     /* should have one result! */
-      GNUNET_GE_BREAK (NULL, length == contentSize);     /* length should 
match! */
-      GNUNET_GE_BREAK (NULL, rbind[0].buffer_length == contentSize);     /* 
length should be internally consistent! */
+      GNUNET_GE_BREAK (NULL, ret != 0); /* should have one result! */
+      GNUNET_GE_BREAK (NULL, length == contentSize);    /* length should 
match! */
+      GNUNET_GE_BREAK (NULL, rbind[0].buffer_length == contentSize);    /* 
length should be internally consistent! */
       do_delete_value (vkey);
       if (ret != 0)
-       do_delete_entry_by_vkey (vkey);
+        do_delete_entry_by_vkey (vkey);
       content_size -= ntohl (datum->size);
       GNUNET_free (datum);
       return NULL;





reply via email to

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