diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-01-25 13:55:19 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-01-25 13:55:19 +0000 |
commit | 4e6eebaa9d271fd2b0e103653deec9ecfe550e7a (patch) | |
tree | 900b6bfba6fe10ae12e3446a48afb7562c2cbd7c /src/transport/plugin_transport_http_client.c | |
parent | 1519b01c7b53d13915385be33208a7b490791244 (diff) | |
download | gnunet-4e6eebaa9d271fd2b0e103653deec9ecfe550e7a.tar.gz gnunet-4e6eebaa9d271fd2b0e103653deec9ecfe550e7a.zip |
coverity 10048
Diffstat (limited to 'src/transport/plugin_transport_http_client.c')
-rw-r--r-- | src/transport/plugin_transport_http_client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c index 013b3f544..4679e451b 100644 --- a/src/transport/plugin_transport_http_client.c +++ b/src/transport/plugin_transport_http_client.c | |||
@@ -144,9 +144,10 @@ client_schedule (struct Plugin *plugin, int now) | |||
144 | int | 144 | int |
145 | client_send (struct Session *s, struct HTTP_Message *msg) | 145 | client_send (struct Session *s, struct HTTP_Message *msg) |
146 | { | 146 | { |
147 | GNUNET_assert (s != NULL); | ||
147 | GNUNET_CONTAINER_DLL_insert (s->msg_head, s->msg_tail, msg); | 148 | GNUNET_CONTAINER_DLL_insert (s->msg_head, s->msg_tail, msg); |
148 | 149 | ||
149 | if ((s != NULL) && (s->client_put_paused == GNUNET_YES)) | 150 | if (s->client_put_paused == GNUNET_YES) |
150 | { | 151 | { |
151 | #if VERBOSE_CLIENT | 152 | #if VERBOSE_CLIENT |
152 | GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, s->plugin->name, | 153 | GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, s->plugin->name, |