summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-transport.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-02-13 00:11:53 +0000
committerChristian Grothoff <christian@grothoff.org>2015-02-13 00:11:53 +0000
commit3e693f3ceb1b3425b17900423628aecb609f2433 (patch)
tree2dd5d5694771de9458eb8c394ce704dea1d0c87e /src/transport/gnunet-transport.c
parentc1fa22fd40d14035c8d323cb4ae8724970850e73 (diff)
-fixing misc minor bugs and style issues (unchecked return values, memory leaks, dead code
Diffstat (limited to 'src/transport/gnunet-transport.c')
-rw-r--r--src/transport/gnunet-transport.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/transport/gnunet-transport.c b/src/transport/gnunet-transport.c
index 8e8c173af..bf586b7f0 100644
--- a/src/transport/gnunet-transport.c
+++ b/src/transport/gnunet-transport.c
@@ -940,17 +940,6 @@ process_validation_cb (void *cls,
_("Monitor disconnected from transport service. Reconnecting.\n"));
return;
}
-
- /* done */
- vic = NULL;
- if (NULL != end)
- GNUNET_SCHEDULER_cancel (end);
- end = GNUNET_SCHEDULER_add_now (&shutdown_task, NULL);
- return;
- }
- if (NULL == address)
- {
- /* invalid response */
vic = NULL;
if (NULL != end)
GNUNET_SCHEDULER_cancel (end);