* fix typo in tools
authorWilfried Göesgens <willi@citadel.org>
Sun, 14 Jun 2009 17:45:35 +0000 (17:45 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sun, 14 Jun 2009 17:45:35 +0000 (17:45 +0000)
* add new roomtype for drafts

libcitadel/lib/libcitadel.h
libcitadel/lib/tools.c

index d9e3ffaf6c35c6e34a9d82c79169da3db046c514..5e8106f8b16acc16050f680cc412e03b88568436 100644 (file)
@@ -59,6 +59,7 @@ enum LogLevel {
 #define        VIEW_WIKI               6       /* Wiki view */
 #define VIEW_CALBRIEF          7       /* Brief Calendar view */
 #define VIEW_JOURNAL           8       /* Journal view */
+#define VIEW_DRAFTS            9       /* Drafts folder */
 
 
 #ifndef IsEmptyStr
index bbb497eb868e944001f32ac0e1569c221c65b8d9..7c3b446f7c5a85c401e05ad3f6bdf8bd326d0e13 100644 (file)
@@ -495,7 +495,7 @@ size_t striplt(char *buf) {
        char *ptr;
        size_t new_len = 0;
 
-       if ((buf == NULL) || (*Buf == '\0')) {
+       if ((buf == NULL) || (*buf == '\0')) {
                return 0;
        }