projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bc07e2
)
-fix
author
Martin Schanzenbach
<mschanzenbach@posteo.de>
Thu, 15 Mar 2012 11:30:58 +0000
(11:30 +0000)
committer
Martin Schanzenbach
<mschanzenbach@posteo.de>
Thu, 15 Mar 2012 11:30:58 +0000
(11:30 +0000)
src/gns/gns_api.c
patch
|
blob
|
history
diff --git
a/src/gns/gns_api.c
b/src/gns/gns_api.c
index bd77f378e2dcfe83d484ef7179924b3f1d310915..1a268f952c1adbbcdef200f09f5c84480b56b7f6 100644
(file)
--- a/
src/gns/gns_api.c
+++ b/
src/gns/gns_api.c
@@
-505,7
+505,8
@@
process_message (void *cls, const struct GNUNET_MessageHeader *msg)
}
if (qe)
process_lookup_reply(qe, lookup_msg);
-
+
+ return;
}
else if (type == GNUNET_MESSAGE_TYPE_GNS_SHORTEN_RESULT)
@@
-532,6
+533,7
@@
process_message (void *cls, const struct GNUNET_MessageHeader *msg)
}
if (qe)
process_shorten_reply(qe, shorten_msg);
+ return;
}
else if (type == GNUNET_MESSAGE_TYPE_GNS_GET_AUTH_RESULT)
{
@@
-557,6
+559,7
@@
process_message (void *cls, const struct GNUNET_MessageHeader *msg)
}
if (qe)
process_get_auth_reply(qe, get_auth_msg);
+ return;
}
@@
-604,7
+607,7
@@
GNUNET_GNS_disconnect (struct GNUNET_GNS_Handle *h)
GNUNET_SCHEDULER_cancel (h->reconnect_task);
h->reconnect_task = GNUNET_SCHEDULER_NO_TASK;
}
-
//
GNUNET_free(h);
+ GNUNET_free(h);
/* disco from GNS */
}