diff options
author | Christian Grothoff <christian@grothoff.org> | 2006-11-30 14:37:17 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2006-11-30 14:37:17 +0000 |
commit | 74f4e52f167f1815fe79f4229ccdfdeefd10e257 (patch) | |
tree | 90011d6e507d76aa3985b0138b376707c731373e /src/plugins/fs/search.c | |
parent | e3f0063539b2d684f356f200194a85f9e35077af (diff) | |
download | gnunet-gtk-74f4e52f167f1815fe79f4229ccdfdeefd10e257.tar.gz gnunet-gtk-74f4e52f167f1815fe79f4229ccdfdeefd10e257.zip |
mmap-fix
Diffstat (limited to 'src/plugins/fs/search.c')
-rw-r--r-- | src/plugins/fs/search.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/fs/search.c b/src/plugins/fs/search.c index beb6efdc..f70f6630 100644 --- a/src/plugins/fs/search.c +++ b/src/plugins/fs/search.c | |||
@@ -479,7 +479,8 @@ void on_fssearchbutton_clicked_fs(gpointer dummy2, | |||
479 | 479 | ||
480 | searchString = getEntryLineValue(getMainXML(), | 480 | searchString = getEntryLineValue(getMainXML(), |
481 | "fssearchKeywordComboBoxEntry"); | 481 | "fssearchKeywordComboBoxEntry"); |
482 | if (searchString == NULL) { | 482 | if ( (searchString == NULL) || |
483 | (strlen(searchString) == 0) ) { | ||
483 | GE_LOG(ectx, | 484 | GE_LOG(ectx, |
484 | GE_ERROR | GE_USER | GE_IMMEDIATE, | 485 | GE_ERROR | GE_USER | GE_IMMEDIATE, |
485 | _("Need a keyword to search!\n")); | 486 | _("Need a keyword to search!\n")); |