diff options
Diffstat (limited to 'src/transport/plugin_transport_http.c')
-rw-r--r-- | src/transport/plugin_transport_http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c index 637e74063..979978e73 100644 --- a/src/transport/plugin_transport_http.c +++ b/src/transport/plugin_transport_http.c | |||
@@ -216,7 +216,7 @@ http_plugin_receive (void *cls, const struct GNUNET_PeerIdentity *peer, | |||
216 | * @param added length of created address | 216 | * @param added length of created address |
217 | * @return GNUNET_OK on success, GNUNET_SYSERR on failure | 217 | * @return GNUNET_OK on success, GNUNET_SYSERR on failure |
218 | */ | 218 | */ |
219 | int | 219 | int |
220 | http_string_to_address (void *cls, | 220 | http_string_to_address (void *cls, |
221 | const char *addr, | 221 | const char *addr, |
222 | uint16_t addrlen, | 222 | uint16_t addrlen, |
@@ -363,7 +363,7 @@ lookup_session_old (struct Plugin *plugin, const struct GNUNET_PeerIdentity *tar | |||
363 | e_peer = GNUNET_YES; | 363 | e_peer = GNUNET_YES; |
364 | if ( (addrlen == t->addrlen) && | 364 | if ( (addrlen == t->addrlen) && |
365 | (0 == memcmp (addr, t->addr, addrlen)) ) | 365 | (0 == memcmp (addr, t->addr, addrlen)) ) |
366 | e_addr = GNUNET_YES; | 366 | e_addr = GNUNET_YES; |
367 | if ( (t == session) && | 367 | if ( (t == session) && |
368 | (t->addrlen == session->addrlen) && | 368 | (t->addrlen == session->addrlen) && |
369 | (0 == memcmp (session->addr, t->addr, t->addrlen)) ) | 369 | (0 == memcmp (session->addr, t->addr, t->addrlen)) ) |