* Reversed the IsEmptyStr logic to determine whether a note is in vNote format or...
authorArt Cancro <ajc@citadel.org>
Tue, 12 May 2009 20:45:34 +0000 (20:45 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 12 May 2009 20:45:34 +0000 (20:45 +0000)
webcit/notes.c

index ab4dfff5dff9b728be78c7b4754c0ff20563df1a..988e110958d76e7930aa58f63f6662aee5d406e3 100644 (file)
@@ -126,7 +126,7 @@ struct vnote *vnote_new_from_msg(long msgnum,int unread)
        }
 
        if (StrLength(Data) > 0) {
-               if (!IsEmptyStr(uid_from_headers)) {
+               if (IsEmptyStr(uid_from_headers)) {
                        // Convert an old-style note to a vNote
                        vnote_from_body = vnote_new();
                        vnote_from_body->uid = strdup(uid_from_headers);