aboutsummaryrefslogtreecommitdiff
path: root/src/nat
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-03-07 10:38:13 +0000
committerChristian Grothoff <christian@grothoff.org>2014-03-07 10:38:13 +0000
commit710e1bc2eaf88a624c09e53c9b3280b842ce0302 (patch)
treef0075d4ce72373552f15301e5cfe4d0ddd485640 /src/nat
parent714d46ae804fcd847afe38c94a0c0b7dccb62dc6 (diff)
downloadgnunet-710e1bc2eaf88a624c09e53c9b3280b842ce0302.tar.gz
gnunet-710e1bc2eaf88a624c09e53c9b3280b842ce0302.zip
-fix map cmd shutdown
Diffstat (limited to 'src/nat')
-rw-r--r--src/nat/nat_mini.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nat/nat_mini.c b/src/nat/nat_mini.c
index ce4bc6778..7a2b08f46 100644
--- a/src/nat/nat_mini.c
+++ b/src/nat/nat_mini.c
@@ -669,13 +669,13 @@ GNUNET_NAT_mini_map_stop (struct GNUNET_NAT_MiniHandle *mini)
669 GNUNET_OS_command_stop (mini->refresh_cmd); 669 GNUNET_OS_command_stop (mini->refresh_cmd);
670 mini->refresh_cmd = NULL; 670 mini->refresh_cmd = NULL;
671 } 671 }
672 if (NULL != mini->map_cmd)
673 {
674 GNUNET_OS_command_stop (mini->map_cmd);
675 mini->map_cmd = NULL;
676 }
672 if (GNUNET_NO == mini->did_map) 677 if (GNUNET_NO == mini->did_map)
673 { 678 {
674 if (NULL != mini->map_cmd)
675 {
676 GNUNET_OS_command_stop (mini->map_cmd);
677 mini->map_cmd = NULL;
678 }
679 GNUNET_free (mini); 679 GNUNET_free (mini);
680 return; 680 return;
681 } 681 }