diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-06-26 09:35:54 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-06-26 09:35:54 +0000 |
commit | 73e31317eab3b5e95039a50ddbd5a4358155470b (patch) | |
tree | 018964b2f91bfcd29b28b7e32ef8198f29f4d5ac | |
parent | bc8c00c16a4bbdcdb84c386691d05dcdfb14bdff (diff) | |
download | gnunet-gtk-73e31317eab3b5e95039a50ddbd5a4358155470b.tar.gz gnunet-gtk-73e31317eab3b5e95039a50ddbd5a4358155470b.zip |
-no need to break here, this happens if the dirscanner had an error
-rw-r--r-- | src/fs/gnunet-fs-gtk_publish-dialog.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/fs/gnunet-fs-gtk_publish-dialog.c b/src/fs/gnunet-fs-gtk_publish-dialog.c index 2a5ee761..14a855ea 100644 --- a/src/fs/gnunet-fs-gtk_publish-dialog.c +++ b/src/fs/gnunet-fs-gtk_publish-dialog.c | |||
@@ -1249,11 +1249,7 @@ GNUNET_FS_GTK_progress_dialog_cancel_button_clicked_cb (GtkButton *button, | |||
1249 | { | 1249 | { |
1250 | struct AddDirClientContext *adcc = user_data; | 1250 | struct AddDirClientContext *adcc = user_data; |
1251 | 1251 | ||
1252 | if (NULL == adcc->ds) | 1252 | if (NULL != adcc->ds) |
1253 | { | ||
1254 | GNUNET_break (0); | ||
1255 | } | ||
1256 | else | ||
1257 | { | 1253 | { |
1258 | /* signal the scanner to finish */ | 1254 | /* signal the scanner to finish */ |
1259 | GNUNET_FS_directory_scan_abort (adcc->ds); | 1255 | GNUNET_FS_directory_scan_abort (adcc->ds); |