From 194d3d6894709503d31d6746bfe887143eea9e57 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Mon, 11 Aug 2003 20:41:33 +0000 Subject: force connect manually so basics work. 2003-08-11 Not Zed * providers/imapp/camel-imapp-store.c (imap_get_folder_info): force connect manually so basics work. ** See bug #45505. * camel-service.c (camel_gethostbyname): duh, pthread_create returns the error code directly, not via errno. (camel_gethostbyaddr): Same, also properly handle the failure case. 2003-08-01 Not Zed ** See bug #47208. * camel-filter-search.c (match_all): match-all with no arguments should always return TRUE. * camel-folder-search.c (camel_folder_search_execute_expression): print a warning when we get an invalid result type & fixed a leak for that case. svn path=/trunk/; revision=22179 --- camel/providers/imapp/camel-imapp-store.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'camel/providers/imapp') diff --git a/camel/providers/imapp/camel-imapp-store.c b/camel/providers/imapp/camel-imapp-store.c index 36dde917bb..b3c8e57352 100644 --- a/camel/providers/imapp/camel-imapp-store.c +++ b/camel/providers/imapp/camel-imapp-store.c @@ -861,10 +861,10 @@ imap_get_folder_info(CamelStore *store, const char *top, guint32 flags, CamelExc CamelFolderInfo * fi= NULL; char *name; - if (istore->driver == NULL) { - camel_exception_setv(ex, 1, "Not connected"); + /* FIXME: temporary, since this is not a disco store */ + if (istore->driver == NULL + && !camel_service_connect((CamelService *)store, ex)) return NULL; - } name = (char *)top; if (name == NULL || name[0] == 0) { -- cgit