[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r5131 - GNUnet/src/applications/datastore
From: |
gnunet |
Subject: |
[GNUnet-SVN] r5131 - GNUnet/src/applications/datastore |
Date: |
Sun, 24 Jun 2007 01:41:45 -0600 (MDT) |
Author: grothoff
Date: 2007-06-24 01:41:44 -0600 (Sun, 24 Jun 2007)
New Revision: 5131
Modified:
GNUnet/src/applications/datastore/datastore.c
Log:
fixing Mantis 1236
Modified: GNUnet/src/applications/datastore/datastore.c
===================================================================
--- GNUnet/src/applications/datastore/datastore.c 2007-06-23 22:57:16 UTC
(rev 5130)
+++ GNUnet/src/applications/datastore/datastore.c 2007-06-24 07:41:44 UTC
(rev 5131)
@@ -495,11 +495,17 @@
initFilters(uapi->ectx,
uapi->cfg);
sq = uapi->requestService("sqstore");
- sq->get(NULL,
- ANY_BLOCK,
- &filterAddAll,
- NULL);
- uapi->releaseService(sq);
+ if (sq != NULL) {
+ sq->get(NULL,
+ ANY_BLOCK,
+ &filterAddAll,
+ NULL);
+ uapi->releaseService(sq);
+ } else {
+ GE_LOG(uapi->ectx,
+ GE_USER | GE_ADMIN | GE_ERROR | GE_BULK,
+ _("Failed to load sqstore service. Check your configuration!\n"));
+ }
sq = NULL;
doneFilters();
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r5131 - GNUnet/src/applications/datastore,
gnunet <=