Update of /cvsroot/simplemail/simplemail
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16778
Modified Files:
imap.c smtp.c
Log Message:
Use error_code directly instead of tcp_error_code() in two places.
Index: imap.c
===================================================================
RCS file: /cvsroot/simplemail/simplemail/imap.c,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -d -r1.96 -r1.97
--- imap.c 22 Feb 2014 19:53:39 -0000 1.96
+++ imap.c 22 Feb 2014 19:54:05 -0000 1.97
@@ -1193,7 +1193,7 @@
{
SM_DEBUGF(10,("Unable to connect\n"));
if (thread_aborted()) break;
- else tell_from_subtask((char*)tcp_strerror(tcp_error_code()));
+ else tell_from_subtask((char*)tcp_strerror(error_code));
}
/* Clear the preselection entries */
Index: smtp.c
===================================================================
RCS file: /cvsroot/simplemail/simplemail/smtp.c,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- smtp.c 22 Feb 2014 19:53:39 -0000 1.77
+++ smtp.c 22 Feb 2014 19:54:05 -0000 1.78
@@ -965,7 +965,7 @@
if (thread_aborted() && !thread_call_parent_function_sync(NULL,status_skipped,0)) break;
- sm_snprintf(message,sizeof(message),_("Unable to connect to server %s: %s"),account->smtp->name,tcp_strerror(tcp_error_code()));
+ sm_snprintf(message,sizeof(message),_("Unable to connect to server %s: %s"),account->smtp->name,tcp_strerror(error_code));
tell_from_subtask(message);
}
}
|