From e3a451cb33cad9dada930fd5111bcc6c341d5a2b Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 16 Jan 2001 03:54:45 +0000 Subject: Chganged len back to be unsigned. And do a simple range check on the 2001-01-16 Not Zed * camel-folder-summary.c (camel_folder_summary_decode_string): Chganged len back to be unsigned. And do a simple range check on the string value to try and detect corrupted summary files. * providers/imap/camel-imap-command.c (imap_read_untagged): Handle cancelled stream reads with an appropriate exception. * providers/imap/camel-imap-private.h: Fix the include-once macro. Doh, confliced with camel-private.h. * providers/imap/camel-imap-store.c (imap_store_refresh_folders): A copy of camel_remote_store_refresh_folders. We avoid locking each folder when we call it though. This should be removed when i can work out how to remove the folder lock from this function easily. * camel-stream-fs.c (stream_write): Fix n' argument of select. (stream_read): Likewise. * camel-remote-store.c (socket_connect): Bump the connect timeout upto 4 minutes. (socket_connect): Oops, fix the 'n' argument of select. * camel-session.c (camel_cancel_cancel): If we are given no cancellation node, then do it for all active ones. svn path=/trunk/; revision=7526 --- camel/providers/imap/camel-imap-private.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'camel/providers/imap/camel-imap-private.h') diff --git a/camel/providers/imap/camel-imap-private.h b/camel/providers/imap/camel-imap-private.h index 95ec3a5a0b..abcb3f8dd7 100644 --- a/camel/providers/imap/camel-imap-private.h +++ b/camel/providers/imap/camel-imap-private.h @@ -21,8 +21,8 @@ * USA */ -#ifndef CAMEL_PRIVATE_H -#define CAMEL_PRIVATE_H 1 +#ifndef CAMEL_IMAP_PRIVATE_H +#define CAMEL_IMAP_PRIVATE_H 1 #ifdef __cplusplus extern "C" { @@ -70,5 +70,5 @@ struct _CamelImapFolderPrivate { } #endif /* __cplusplus */ -#endif /* CAMEL_H */ +#endif /* CAMEL_IMAP_PRIVATE_H */ -- cgit v1.2.3