* src/imap.c
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Fri, 12 Mar 2004 01:00:07 +0000 (01:00 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Fri, 12 Mar 2004 01:00:07 +0000 (01:00 +0000)
o quiet compiler and typecast Folder * to IMAP Folder *
o wake up and fix my previous incompatible type assignment bug

ChangeLog.claws
configure.ac
src/imap.c

index 04744b3..6e49382 100644 (file)
@@ -1,3 +1,9 @@
+2004-04-12 [alfons]    0.9.10claws7
+
+       * src/imap.c
+               o quiet compiler and typecast Folder * to IMAP Folder *
+               o wake up and fix my previous incompatible type assignment bug
+
 2004-04-12 [alfons]    0.9.10claws6
 
        * src/imap.c
index 9763f6a..45faa95 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=10
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=6
+EXTRA_VERSION=7
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index 0e69982..ec76325 100644 (file)
@@ -1717,7 +1717,7 @@ static gint imap_rename_folder(Folder *folder, FolderItem *item,
        g_return_val_if_fail(item->path != NULL, -1);
        g_return_val_if_fail(name != NULL, -1);
 
-       if (strchr(name, imap_get_path_separator(folder, item->path)) != NULL) {
+       if (strchr(name, imap_get_path_separator(IMAP_FOLDER(folder), item->path)) != NULL) {
                g_warning(_("New folder name must not contain the namespace "
                            "path seperator"));
                return -1;
@@ -2761,7 +2761,7 @@ static gint imap_cmd_do_select(IMAPSession *session, const gchar *folder,
                        g_warning("imap_cmd_select(): invalid UIDVALIDITY line.\n");
                        THROW;
                }
-               uid_validity = uid_validity_;
+               *uid_validity = uid_validity_;
        }
 
        resp_str = search_array_contain_str(argbuf, "UNSEEN");