Enlightenment CVS committal
Author : tsauerbeck
Project : misc
Module : embrace
Dir : misc/embrace/src/plugins/pop3
Modified Files:
pop3.c
Log Message:
ported the recent fixes for POP3 to the IMAP plugin
===================================================================
RCS file: /cvsroot/enlightenment/misc/embrace/src/plugins/pop3/pop3.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- pop3.c 17 Apr 2004 17:40:13 -0000 1.9
+++ pop3.c 18 Apr 2004 13:02:35 -0000 1.10
@@ -1,5 +1,5 @@
/*
- * $Id: pop3.c,v 1.9 2004/04/17 17:40:13 tsauerbeck Exp $
+ * $Id: pop3.c,v 1.10 2004/04/18 13:02:35 tsauerbeck Exp $
*
* Copyright (C) 2004 Embrace project.
*
@@ -92,10 +92,6 @@
mailbox_property_set (mb, "state", (void *) ++state);
switch (state) {
- case STATE_DISCONNECTED:
- case STATE_CONNECTED:
- assert (false);
- break;
case STATE_SERVER_READY:
len = snprintf (outbuf, sizeof (outbuf), "USER %s\r\n",
(char *) mailbox_property_get (mb, "user"));
@@ -121,6 +117,8 @@
}
break;
+ default:
+ assert (false);
}
return 0;
@@ -269,7 +267,7 @@
fprintf (stderr, "[pop3] 'user' not specified!\n");
return false;
}
-
+
mailbox_property_set (mb, "user", str);
/* read password */
@@ -279,7 +277,7 @@
fprintf (stderr, "[pop3] 'pass' not specified!\n");
return false;
}
-
+
mailbox_property_set (mb, "pass", str);
return true;
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs