* Holy war on strlen: use IsEmptyStr where apropriate.
[citadel.git] / citadel / msgform.c
index 16df9aeb7fe4350b4df8fde986ff6c36747d5db3..3c0a6d0fa58b53bd83dc94dbac9abd349bb708c3 100644 (file)
@@ -31,6 +31,7 @@
 #endif
 
 #include <errno.h>
+#include "tools.h"
 
 
 int qwk = 0;
@@ -91,7 +92,7 @@ TOP:  do {
                if (b == 'M') {
                        if (qwk == 0) {
                                printf("\n");
-                               if (strlen(subject) != 0)
+                               if (!IsEmptyStr(subject))
                                        printf("Subject: %s\n", subject);
                        }
                        if (aflag != 1)