* src/imap.c
don't ask imap server for non rfc822 headers
(closes bug 71 IMAP FETCH asks for FROM header field twice)
* src/imap.c
destroy session on socket error to allow reconnecting
+2003-03-05 [christoph] 0.8.10claws84
+
+ * src/imap.c
+ don't ask imap server for non rfc822 headers
+
+ (closes bug 71 IMAP FETCH asks for FROM header field twice)
+
+ * src/imap.c
+ destroy session on socket error to allow reconnecting
+
2003-03-05 [christoph] 0.8.10claws83
* configure.ac
fix building with gnome when no prefix is set
2003-03-05 [christoph] 0.8.10claws83
* configure.ac
fix building with gnome when no prefix is set
+ (closes bug 66 Gnome directory is set to NONE)
+
2003-03-05 [paul] 0.8.10claws82
* sync with 0.8.10cvs23
2003-03-05 [paul] 0.8.10claws82
* sync with 0.8.10cvs23
o remove some code for single message copy and move
operations and use functions for multiple messages
o remove some code for single message copy and move
operations and use functions for multiple messages
+ (closes bug 63 Strange behaviour MOVING messages from MH to IMAP)
+
* src/news.c
remove unused include
* src/news.c
remove unused include
MICRO_VERSION=10
INTERFACE_AGE=0
BINARY_AGE=0
MICRO_VERSION=10
INTERFACE_AGE=0
BINARY_AGE=0
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target
for (elem = headers; elem->name != NULL; ++elem) {
gint namelen = strlen(elem->name);
for (elem = headers; elem->name != NULL; ++elem) {
gint namelen = strlen(elem->name);
- while(namelen && (elem->name[namelen - 1] == ' ' ||
- elem->name[namelen - 1] == ':'))
+ /* Header fields ending with space are not rfc822 headers */
+ if (elem->name[namelen - 1] == ' ')
+ continue;
+
+ /* strip : at the of header field */
+ if(elem->name[namelen - 1] == ':')
continue;
g_string_sprintfa(header_fields, "%s%.*s",
continue;
g_string_sprintfa(header_fields, "%s%.*s",
g_free(cmdbuf);
ok = imap_cmd_ok(SESSION(session)->sock, argbuf);
if (ok != IMAP_SUCCESS) {
g_free(cmdbuf);
ok = imap_cmd_ok(SESSION(session)->sock, argbuf);
if (ok != IMAP_SUCCESS) {
+ if (ok == IMAP_SOCKET) {
+ session_destroy((Session *)session);
+ ((RemoteFolder *)folder)->session = NULL;
+ }
+
ptr_array_free_strings(argbuf);
g_ptr_array_free(argbuf, TRUE);
return -1;
ptr_array_free_strings(argbuf);
g_ptr_array_free(argbuf, TRUE);
return -1;