Enlightenment CVS committal
Author : tsauerbeck
Project : misc
Module : embrace
Dir : misc/embrace/src/plugins/pop3
Modified Files:
pop3.c
Log Message:
whoa, helpful error messages
===================================================================
RCS file: /cvsroot/enlightenment/misc/embrace/src/plugins/pop3/pop3.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- pop3.c 8 May 2004 20:54:22 -0000 1.11
+++ pop3.c 6 Jun 2004 09:07:31 -0000 1.12
@@ -1,5 +1,5 @@
/*
- * $Id: pop3.c,v 1.11 2004/05/08 20:54:22 tsauerbeck Exp $
+ * $Id: pop3.c,v 1.12 2004/06/06 09:07:31 tsauerbeck Exp $
*
* Copyright (C) 2004 Embrace project.
*
@@ -159,17 +159,17 @@
char *host;
int port;
- if (mailbox_property_get (mb, "server")) {
- fprintf (stderr, "[pop3] already connected!\n");
- return false;
- }
-
host = mailbox_property_get (mb, "host"),
port = (int) mailbox_property_get (mb, "port");
assert (host);
assert (port);
+ if (mailbox_property_get (mb, "server")) {
+ fprintf (stderr, "[pop3] already connected to '%s'\n", host);
+ return false;
+ }
+
#ifdef HAVE_OPENSSL
if (mailbox_property_get (mb, "ssl"))
type |= ECORE_CON_USE_SSL;
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs