diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-03-12 13:29:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-03-12 13:29:05 +0000 |
commit | a6f43190ab793b3487da2133735e166e337000c4 (patch) | |
tree | fc2dacc6a36f3ec04cf86a14cdea9c5bdf45274f /src/util/test_client.c | |
parent | 61cfd3340e67672f351ab92dab7da72dca058c79 (diff) | |
download | gnunet-a6f43190ab793b3487da2133735e166e337000c4.tar.gz gnunet-a6f43190ab793b3487da2133735e166e337000c4.zip |
cancel pending write if we are just dead anyway
Diffstat (limited to 'src/util/test_client.c')
-rw-r--r-- | src/util/test_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/test_client.c b/src/util/test_client.c index aa8b93a82..d51424aea 100644 --- a/src/util/test_client.c +++ b/src/util/test_client.c | |||
@@ -113,7 +113,7 @@ recv_bounce (void *cls, const struct GNUNET_MessageHeader *got) | |||
113 | msg.size = htons (sizeof (struct GNUNET_MessageHeader)); | 113 | msg.size = htons (sizeof (struct GNUNET_MessageHeader)); |
114 | GNUNET_assert (0 == | 114 | GNUNET_assert (0 == |
115 | memcmp (got, &msg, sizeof (struct GNUNET_MessageHeader))); | 115 | memcmp (got, &msg, sizeof (struct GNUNET_MessageHeader))); |
116 | GNUNET_CLIENT_disconnect (client); | 116 | GNUNET_CLIENT_disconnect (client, GNUNET_YES); |
117 | client = NULL; | 117 | client = NULL; |
118 | GNUNET_SERVER_destroy (server); | 118 | GNUNET_SERVER_destroy (server); |
119 | server = NULL; | 119 | server = NULL; |