aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-07-13 09:35:25 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-07-13 09:35:25 +0800
commite6911693723f9d9c9b274351539f87deffe5beb8 (patch)
tree55aba4557b0b06837655086341331c7cd661adb0 /camel/providers/imap
parent0b66e8a93bd8d91d456015c36b9556fce4c91ec9 (diff)
downloadgsoc2013-evolution-e6911693723f9d9c9b274351539f87deffe5beb8.tar.gz
gsoc2013-evolution-e6911693723f9d9c9b274351539f87deffe5beb8.tar.zst
gsoc2013-evolution-e6911693723f9d9c9b274351539f87deffe5beb8.zip
Undid clahey's e_strstrcase because e_strstrcase DOES NOT EXIST in
2000-07-12 Jeffrey Stedfast <fejj@helixcode.com> Undid clahey's e_strstrcase because e_strstrcase DOES NOT EXIST in e-utils/e-utils.c nor anywhere else in Evolution - besides, Camel should remain independant of Evolution. * providers/imap/camel-imap-store.c (imap_connect): Fixed Peter's fix, we don't want to send a string to a %d. svn path=/trunk/; revision=4132
Diffstat (limited to 'camel/providers/imap')
-rw-r--r--camel/providers/imap/camel-imap-store.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index d31080d0b2..bec33edf8a 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -248,9 +248,9 @@ imap_connect (CamelService *service, CamelException *ex)
fd = socket (h->h_addrtype, SOCK_STREAM, 0);
if (fd == -1 || connect (fd, (struct sockaddr *)&sin, sizeof(sin)) == -1) {
camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_UNAVAILABLE,
- "Could not connect to %s (port %s): %s",
+ "Could not connect to %s (port %d): %s",
service->url->host ? service->url->host : "(unknown host)",
- service->url->port ? service->url->port : "(unknown port)",
+ service->url->port ? service->url->port : IMAP_PORT,
strerror(errno));
if (fd > -1)
close (fd);
@@ -333,7 +333,7 @@ imap_connect (CamelService *service, CamelException *ex)
"Unknown error");
}
- if (e_strstrcase (result, "SEARCH"))
+ if (strstrcase (result, "SEARCH"))
store->has_search_capability = TRUE;
else
store->has_search_capability = FALSE;
@@ -559,13 +559,13 @@ camel_imap_command (CamelImapStore *store, CamelFolder *folder, char **ret, char
}
if (p) {
- if (e_strstrcase (p, "READ-WRITE"))
+ if (strstrcase (p, "READ-WRITE"))
mode =
}
#endif
}
#if 0
- if ((recent = e_strstrcase (r, "RECENT"))) {
+ if ((recent = strstrcase (r, "RECENT"))) {
char *p;
for (p = recent; p > r && *p != '*'; p--);
@@ -678,7 +678,7 @@ camel_imap_command_extended (CamelImapStore *store, CamelFolder *folder, char **
return s;
}
#if 0
- if ((recent = e_strstrcase (r, "RECENT"))) {
+ if ((recent = strstrcase (r, "RECENT"))) {
char *p;
for (p = recent; p > r && *p != '*'; p--);