diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-04-11 11:37:46 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-04-11 11:37:46 +0200 |
commit | 51e9f26b1014d6f935cacad7da75d98234653482 (patch) | |
tree | ecbd7394cfd571c8041767287ea17e7cb862f1ca /src/conversation | |
parent | 2b3d804abaff87da0b07f8f6da115a05f6664ebe (diff) | |
download | gnunet-51e9f26b1014d6f935cacad7da75d98234653482.tar.gz gnunet-51e9f26b1014d6f935cacad7da75d98234653482.zip |
fix #4985
Diffstat (limited to 'src/conversation')
-rw-r--r-- | src/conversation/gnunet-service-conversation.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/conversation/gnunet-service-conversation.c b/src/conversation/gnunet-service-conversation.c index 5f43bfe80..7d319e51e 100644 --- a/src/conversation/gnunet-service-conversation.c +++ b/src/conversation/gnunet-service-conversation.c | |||
@@ -1270,6 +1270,14 @@ handle_client_register_message (void *cls, | |||
1270 | NULL, | 1270 | NULL, |
1271 | &inbound_end, | 1271 | &inbound_end, |
1272 | cadet_handlers); | 1272 | cadet_handlers); |
1273 | if (NULL == line->port) | ||
1274 | { | ||
1275 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | ||
1276 | _("Could not open line, port %s already in use!\n"), | ||
1277 | GNUNET_h2s (&msg->line_port)); | ||
1278 | GNUNET_SERVICE_client_drop (line->client); | ||
1279 | return; | ||
1280 | } | ||
1273 | GNUNET_SERVICE_client_continue (line->client); | 1281 | GNUNET_SERVICE_client_continue (line->client); |
1274 | } | 1282 | } |
1275 | 1283 | ||