2006-10-03 [colin] 2.5.2cvs41
authorColin Leroy <colin@colino.net>
Tue, 3 Oct 2006 18:16:40 +0000 (18:16 +0000)
committerColin Leroy <colin@colino.net>
Tue, 3 Oct 2006 18:16:40 +0000 (18:16 +0000)
* src/mh.c
Don't use strlen() to know if the
string's empty

ChangeLog
PATCHSETS
configure.ac
src/mh.c

index 68d5c015becba564a3e2f31a9bd4ac0e440b0810..ece641efca34f38288e2ec76fa683da75b5bf503 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-10-03 [colin]     2.5.2cvs41
+
+       * src/mh.c
+               Don't use strlen() to know if the
+               string's empty
+
 2006-10-03 [colin]     2.5.2cvs40
 
        * src/mh.c
index 07e38ee995a581594ef4357c5a8cbdf679aaa49a..fb49922018c1d16ae176d1774c48a449488e1ff5 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.207.2.127 -r 1.207.2.128 src/folderview.c;  ) > 2.5.2cvs38.patchset
 ( cvs diff -u -r 1.60.2.21 -r 1.60.2.22 src/filtering.c;  cvs diff -u -r 1.213.2.119 -r 1.213.2.120 src/folder.c;  cvs diff -u -r 1.149.2.59 -r 1.149.2.60 src/inc.c;  cvs diff -u -r 1.28.2.28 -r 1.28.2.29 src/mbox.c;  ) > 2.5.2cvs39.patchset
 ( cvs diff -u -r 1.79.2.47 -r 1.79.2.48 src/mh.c;  ) > 2.5.2cvs40.patchset
+( cvs diff -u -r 1.79.2.48 -r 1.79.2.49 src/mh.c;  ) > 2.5.2cvs41.patchset
index eaa9d6699029c47d7c97c6d6be8a99f8a43c0fc1..43059377d874d5de164c4757f8947dcc4e55440e 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=5
 MICRO_VERSION=2
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=40
+EXTRA_VERSION=41
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index f42746408a54b7ea1f1d1e84de9bf278d8f31c84..eda7ab98295e40c65f99eabf8da25a0276971776 100644 (file)
--- a/src/mh.c
+++ b/src/mh.c
@@ -1369,7 +1369,7 @@ static void mh_write_sequences(FolderItem *item, gboolean remove_unseen)
                        }
                        cur = cur ? cur->next:NULL;
                } while (cur || (start > 0 && end > 0));
-               if (sequence && strlen(sequence)) {
+               if (sequence && *sequence) {
                        fprintf(mh_sequences_new_fp, "%s%s\n", 
                                        get_unseen_seq_name(), sequence);
                        debug_print("wrote unseen sequence: '%s%s'\n",