[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r8034 - GNUnet/src/applications/sqstore_mysql
From: |
gnunet |
Subject: |
[GNUnet-SVN] r8034 - GNUnet/src/applications/sqstore_mysql |
Date: |
Sat, 27 Dec 2008 01:16:08 -0700 (MST) |
Author: grothoff
Date: 2008-12-27 01:16:08 -0700 (Sat, 27 Dec 2008)
New Revision: 8034
Modified:
GNUnet/src/applications/sqstore_mysql/mysql.c
Log:
allow NULL result
Modified: GNUnet/src/applications/sqstore_mysql/mysql.c
===================================================================
--- GNUnet/src/applications/sqstore_mysql/mysql.c 2008-12-27 08:16:04 UTC
(rev 8033)
+++ GNUnet/src/applications/sqstore_mysql/mysql.c 2008-12-27 08:16:08 UTC
(rev 8034)
@@ -1096,7 +1096,7 @@
res = GNUNET_MYSQL_run_statement_select (db, SELECT_SIZE);
if ((res == NULL) || (1 != SSCANF (res, "%llu", &content_size)))
{
- GNUNET_GE_BREAK (ectx, 0);
+ GNUNET_GE_BREAK (ectx, res == NULL);
content_size = 0;
}
GNUNET_free_non_null (res);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r8034 - GNUnet/src/applications/sqstore_mysql,
gnunet <=