*/
static GNUNET_SCHEDULER_TaskIdentifier ti_download;
-static int running;
-
-/**
- * Buffer for data downloaded via HTTP.
- */
-static char download_buffer[GNUNET_SERVER_MAX_MESSAGE_SIZE];
+/* static int running; */
/**
* Curl multi for managing client operations.
/**
* Our public key.
*/
-static struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded my_public_key;
+/* static struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded my_public_key; */
/**
* Our identity.
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Shutdown, plugin failed \n");
fail = GNUNET_YES;
shutdown_clean();
- return;
+ return GNUNET_YES;
}
if (value==2)
{
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Shutdown, plugin not failed \n");
shutdown_clean();
- return;
+ return GNUNET_YES;
}
- return;
+ return GNUNET_YES;
}
return;
}
-static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *stream)
-{
- size_t retcode;
-
- /* in real-world cases, this would probably get this data differently
- as this fread() stuff is exactly what the library already would do
- by default internally */
- retcode = fread(ptr, size, nmemb, stream);
-
- fprintf(stderr, "*** We read %d bytes from file\n", retcode);
-
- return retcode;
-}
-
-
/**
* Runs the test.
*