aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2012-03-15 11:30:58 +0000
committerMartin Schanzenbach <mschanzenbach@posteo.de>2012-03-15 11:30:58 +0000
commit2965a9e8029f945c663bcb5158b79e147cdbee42 (patch)
treeca4045d9a86b7e7c28a9a38437eb93511c92b0a3
parent0bc07e291340de87cd9fe6bca0a6e62720017cb5 (diff)
downloadgnunet-2965a9e8029f945c663bcb5158b79e147cdbee42.tar.gz
gnunet-2965a9e8029f945c663bcb5158b79e147cdbee42.zip
-fix
-rw-r--r--src/gns/gns_api.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gns/gns_api.c b/src/gns/gns_api.c
index bd77f378e..1a268f952 100644
--- 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)
505 } 505 }
506 if (qe) 506 if (qe)
507 process_lookup_reply(qe, lookup_msg); 507 process_lookup_reply(qe, lookup_msg);
508 508
509 return;
509 510
510 } 511 }
511 else if (type == GNUNET_MESSAGE_TYPE_GNS_SHORTEN_RESULT) 512 else if (type == GNUNET_MESSAGE_TYPE_GNS_SHORTEN_RESULT)
@@ -532,6 +533,7 @@ process_message (void *cls, const struct GNUNET_MessageHeader *msg)
532 } 533 }
533 if (qe) 534 if (qe)
534 process_shorten_reply(qe, shorten_msg); 535 process_shorten_reply(qe, shorten_msg);
536 return;
535 } 537 }
536 else if (type == GNUNET_MESSAGE_TYPE_GNS_GET_AUTH_RESULT) 538 else if (type == GNUNET_MESSAGE_TYPE_GNS_GET_AUTH_RESULT)
537 { 539 {
@@ -557,6 +559,7 @@ process_message (void *cls, const struct GNUNET_MessageHeader *msg)
557 } 559 }
558 if (qe) 560 if (qe)
559 process_get_auth_reply(qe, get_auth_msg); 561 process_get_auth_reply(qe, get_auth_msg);
562 return;
560 } 563 }
561 564
562 565
@@ -604,7 +607,7 @@ GNUNET_GNS_disconnect (struct GNUNET_GNS_Handle *h)
604 GNUNET_SCHEDULER_cancel (h->reconnect_task); 607 GNUNET_SCHEDULER_cancel (h->reconnect_task);
605 h->reconnect_task = GNUNET_SCHEDULER_NO_TASK; 608 h->reconnect_task = GNUNET_SCHEDULER_NO_TASK;
606 } 609 }
607 //GNUNET_free(h); 610 GNUNET_free(h);
608 /* disco from GNS */ 611 /* disco from GNS */
609} 612}
610 613