Proper check for NULL string, found by Colin.
authorDarko Koruga <darko@users.sourceforge.net>
Thu, 5 Dec 2002 10:46:56 +0000 (10:46 +0000)
committerDarko Koruga <darko@users.sourceforge.net>
Thu, 5 Dec 2002 10:46:56 +0000 (10:46 +0000)
ChangeLog.claws
configure.in
src/common/utils.c

index 54b4eae92717e6da2a9b001d1c86342bbbae2874..6104354bdf502074839edf363328de5c36fefe20 100644 (file)
@@ -1,3 +1,8 @@
+2002-12-05 [darko]     0.8.6claws63
+
+       * src/utils.[ch]
+               check proper string for NULL pointer, found by Colin
+
 2002-12-05 [darko]     0.8.6claws62
 
        * src/utils.[ch]
index 884ac943a3254860ba39ea14c2cb7e5a97cc51b8..fe1c17e588b9607535e6a0824f308f3f2706b4de 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws62
+EXTRA_VERSION=claws63
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index b0491f5512127021e37558e92c3dce4e235441ad..cfd5309c6cf3187a8f54807a257a82ced2e3b9a9 100644 (file)
@@ -3082,7 +3082,7 @@ gchar *expand_search_string(const gchar *search_string)
                { NULL, NULL,                           0,      FALSE,  FALSE }
        };
 
-       if (copy_str == NULL)
+       if (search_string == NULL)
                return NULL;
 
        copy_str = g_strdup(search_string);