static int
parse_hello_uri (const char *put_uri)
{
- struct GNUNET_HELLO_Message *hello;
+ struct GNUNET_HELLO_Message *hello = NULL;
int ret = GNUNET_HELLO_parse_uri(put_uri, &my_public_key, &hello, &GPI_plugins_find);
{
GPI_plugins_load (cfg);
if (GNUNET_SYSERR == parse_hello_uri (put_uri))
+ {
fprintf (stderr,
_("Invalid URI `%s'\n"),
- put_uri);
+ put_uri);
+ GNUNET_SCHEDULER_shutdown ();
+ }
GNUNET_free (put_uri);
put_uri = NULL;
return;