2005-06-02 [colin] 1.9.11cvs32
[claws.git] / src / procheader.c
index 19883d2c058c302c2782b14ef75593096e7759e9..de0008cb854cf7e95253596029ddd52c8e9f84e0 100644 (file)
@@ -76,7 +76,7 @@ static gint string_get_one_field(gchar *buf, size_t len, char **str,
 
 static char *string_getline(char *buf, size_t len, char **str)
 {
-       if (!**str)
+       if (!*str || !**str)
                return NULL;
 
        for (; **str && len > 1; --len)