gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r9605 - GNUnet/src/applications/sqstore_postgres


From: gnunet
Subject: [GNUnet-SVN] r9605 - GNUnet/src/applications/sqstore_postgres
Date: Fri, 20 Nov 2009 15:28:28 -0700

Author: grothoff
Date: 2009-11-20 15:28:27 -0700 (Fri, 20 Nov 2009)
New Revision: 9605

Modified:
   GNUnet/src/applications/sqstore_postgres/postgres.c
Log:
better error reporting

Modified: GNUnet/src/applications/sqstore_postgres/postgres.c
===================================================================
--- GNUnet/src/applications/sqstore_postgres/postgres.c 2009-11-20 22:07:30 UTC 
(rev 9604)
+++ GNUnet/src/applications/sqstore_postgres/postgres.c 2009-11-20 22:28:27 UTC 
(rev 9605)
@@ -167,7 +167,7 @@
 
 /**
  * @brief Get a database handle
- * @return the native Postgres database handle, NULL on error
+ * @return GNUNET_OK on success, GNUNET_SYSERR on error
  */
 static int
 init_connection ()
@@ -1041,7 +1041,6 @@
   lock = GNUNET_mutex_create (GNUNET_NO);
   if (GNUNET_OK != init_connection ())
     {
-      GNUNET_GE_BREAK (coreAPI->ectx, 0);
       GNUNET_mutex_destroy (lock);
       return NULL;
     }





reply via email to

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