gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r4822 - GNUnet/src/applications/gap


From: gnunet
Subject: [GNUnet-SVN] r4822 - GNUnet/src/applications/gap
Date: Sun, 27 May 2007 22:32:11 -0600 (MDT)

Author: grothoff
Date: 2007-05-27 22:32:11 -0600 (Sun, 27 May 2007)
New Revision: 4822

Modified:
   GNUnet/src/applications/gap/gaptest.c
Log:
gaptesxt

Modified: GNUnet/src/applications/gap/gaptest.c
===================================================================
--- GNUnet/src/applications/gap/gaptest.c       2007-05-28 04:24:07 UTC (rev 
4821)
+++ GNUnet/src/applications/gap/gaptest.c       2007-05-28 04:32:11 UTC (rev 
4822)
@@ -251,6 +251,7 @@
   int ret;
   struct ECRS_URI * uri;
 
+  ret = 0;
   cfg = GC_create_C_impl();
   if (-1 == GC_parse_configuration(cfg,
                                   "check.conf")) {
@@ -265,6 +266,8 @@
                                       10000,
                                       2);
   if (peers == NULL) {
+    fprintf(stderr,
+           "Failed to start the gnunetd daemons!\n");
     GC_free(cfg);
     return -1;
   }
@@ -282,12 +285,12 @@
 
   uri = uploadFile(12345);
   CHECK(NULL != uri);
-  CHECK(OK == searchFile(&uri));
   GC_set_configuration_value_string(cfg,
                                    ectx,
                                    "NETWORK",
                                    "HOSTNAME",
                                    "localhost:12087");
+  CHECK(OK == searchFile(&uri));
   CHECK(OK == downloadFile(12345, uri));
   ECRS_freeUri(uri);
   GC_set_configuration_value_string(cfg,





reply via email to

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