aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport_api_address_lookup.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-03-12 13:29:05 +0000
committerChristian Grothoff <christian@grothoff.org>2010-03-12 13:29:05 +0000
commita6f43190ab793b3487da2133735e166e337000c4 (patch)
treefc2dacc6a36f3ec04cf86a14cdea9c5bdf45274f /src/transport/transport_api_address_lookup.c
parent61cfd3340e67672f351ab92dab7da72dca058c79 (diff)
downloadgnunet-a6f43190ab793b3487da2133735e166e337000c4.tar.gz
gnunet-a6f43190ab793b3487da2133735e166e337000c4.zip
cancel pending write if we are just dead anyway
Diffstat (limited to 'src/transport/transport_api_address_lookup.c')
-rw-r--r--src/transport/transport_api_address_lookup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/transport_api_address_lookup.c b/src/transport/transport_api_address_lookup.c
index d2bc51d47..bf0b37442 100644
--- a/src/transport/transport_api_address_lookup.c
+++ b/src/transport/transport_api_address_lookup.c
@@ -30,7 +30,7 @@ address_response_processor (void *cls, const struct GNUNET_MessageHeader *msg)
30 { 30 {
31 /* timeout */ 31 /* timeout */
32 alucb->cb (alucb->cls, NULL); 32 alucb->cb (alucb->cls, NULL);
33 GNUNET_CLIENT_disconnect (alucb->client); 33 GNUNET_CLIENT_disconnect (alucb->client. GNUNET_NO);
34 GNUNET_free (alucb); 34 GNUNET_free (alucb);
35 return; 35 return;
36 } 36 }
@@ -48,7 +48,7 @@ address_response_processor (void *cls, const struct GNUNET_MessageHeader *msg)
48 /* invalid reply */ 48 /* invalid reply */
49 GNUNET_break_op (0); 49 GNUNET_break_op (0);
50 alucb->cb (alucb->cls, NULL); 50 alucb->cb (alucb->cls, NULL);
51 GNUNET_CLIENT_disconnect (alucb->client); 51 GNUNET_CLIENT_disconnect (alucb->client, GNUNET_NO);
52 GNUNET_free (alucb); 52 GNUNET_free (alucb);
53 return; 53 return;
54 } 54 }
@@ -65,7 +65,7 @@ address_response_processor (void *cls, const struct GNUNET_MessageHeader *msg)
65 if (address == NULL) 65 if (address == NULL)
66 { 66 {
67 /* done! */ 67 /* done! */
68 GNUNET_CLIENT_disconnect (alucb->client); 68 GNUNET_CLIENT_disconnect (alucb->client, GNUNET_NO);
69 GNUNET_free (alucb); 69 GNUNET_free (alucb);
70 } 70 }
71} 71}