diff options
author | Dan Winship <danw@src.gnome.org> | 2000-03-23 01:02:13 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-03-23 01:02:13 +0800 |
commit | 1fa17b36192eab987255accbe14b3fe184fa0948 (patch) | |
tree | 360ac7f6b4c75b6ab9e6c4d0b0d74afdf8e25fef /camel/providers/pop3/camel-pop3-store.c | |
parent | 07baaeb9c606395a98853be164b04b56560f547a (diff) | |
download | gsoc2013-evolution-1fa17b36192eab987255accbe14b3fe184fa0948.tar gsoc2013-evolution-1fa17b36192eab987255accbe14b3fe184fa0948.tar.gz gsoc2013-evolution-1fa17b36192eab987255accbe14b3fe184fa0948.tar.bz2 gsoc2013-evolution-1fa17b36192eab987255accbe14b3fe184fa0948.tar.lz gsoc2013-evolution-1fa17b36192eab987255accbe14b3fe184fa0948.tar.xz gsoc2013-evolution-1fa17b36192eab987255accbe14b3fe184fa0948.tar.zst gsoc2013-evolution-1fa17b36192eab987255accbe14b3fe184fa0948.zip |
fix compile errors. duh.
svn path=/trunk/; revision=2144
Diffstat (limited to 'camel/providers/pop3/camel-pop3-store.c')
-rw-r--r-- | camel/providers/pop3/camel-pop3-store.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/camel/providers/pop3/camel-pop3-store.c b/camel/providers/pop3/camel-pop3-store.c index ece5171c2b..2d3f4cbb86 100644 --- a/camel/providers/pop3/camel-pop3-store.c +++ b/camel/providers/pop3/camel-pop3-store.c @@ -45,7 +45,7 @@ -static gboolean connect (CamelService *service, CamelException *ex); +static gboolean pop3_connect (CamelService *service, CamelException *ex); static CamelFolder *get_folder (CamelStore *store, const gchar *folder_name, CamelException *ex); @@ -59,7 +59,7 @@ camel_pop3_store_class_init (CamelPop3StoreClass *camel_pop3_store_class) CAMEL_STORE_CLASS (camel_pop3_store_class); /* virtual method overload */ - camel_service_class->connect = connect; + camel_service_class->connect = pop3_connect; camel_store_class->get_root_folder = camel_pop3_folder_new; camel_store_class->get_default_folder = camel_pop3_folder_new; @@ -107,7 +107,7 @@ camel_pop3_store_get_type (void) static gboolean -_connect (CamelService *service, CamelException *ex) +pop3_connect (CamelService *service, CamelException *ex) { struct hostent *h; struct sockaddr_in sin; @@ -221,8 +221,7 @@ camel_pop3_command (CamelPop3Store *store, char **ret, char *fmt, ...) CamelStreamBuffer *stream = store->stream; char *cmdbuf, *respbuf; va_list ap; - int status, i; - GPtrArray *data; + int status; va_start (ap, fmt); cmdbuf = g_strdup_vprintf (fmt, ap); @@ -246,7 +245,7 @@ camel_pop3_command (CamelPop3Store *store, char **ret, char *fmt, ...) if (status != CAMEL_POP3_FAIL) { *ret = strchr (respbuf, ' '); if (*ret) - *ret = g_strdup (ret + 1); + *ret = g_strdup (*ret + 1); } else *ret = NULL; } |