diff options
author | Not Zed <NotZed@Ximian.com> | 2003-08-12 04:41:33 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-08-12 04:41:33 +0800 |
commit | 194d3d6894709503d31d6746bfe887143eea9e57 (patch) | |
tree | 31dddfefcebae634105c37f69bdb77a3b3c13d29 /camel/providers/imapp | |
parent | c3397634d2813c298e15e67726da303e3bff23b5 (diff) | |
download | gsoc2013-evolution-194d3d6894709503d31d6746bfe887143eea9e57.tar.gz gsoc2013-evolution-194d3d6894709503d31d6746bfe887143eea9e57.tar.zst gsoc2013-evolution-194d3d6894709503d31d6746bfe887143eea9e57.zip |
force connect manually so basics work.
2003-08-11 Not Zed <NotZed@Ximian.com>
* 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 <NotZed@Ximian.com>
** 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
Diffstat (limited to 'camel/providers/imapp')
-rw-r--r-- | camel/providers/imapp/camel-imapp-store.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |