Update of /cvsroot/mahogany/M/lib/imap/src/osdep/unix
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24326/src/osdep/unix
Modified Files:
news.c
Log Message:
after imap-2004b.DEV.SNAP-0409021845 merge
Index: news.c
===================================================================
RCS file: /cvsroot/mahogany/M/lib/imap/src/osdep/unix/news.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -u -2 -r1.2 -r1.3
--- news.c 2 May 2004 09:50:15 -0000 1.2
+++ news.c 3 Sep 2004 14:08:34 -0000 1.3
@@ -11,5 +11,5 @@
*
* Date: 4 September 1991
- * Last Edited: 27 April 2004
+ * Last Edited: 8 July 2004
*
* The IMAP toolkit provided in this Distribution is
@@ -168,14 +168,5 @@
void *news_parameters (long function,void *value)
{
- switch ((int) function) {
- case SET_NEWSRC:
- case GET_NEWSRC:
- value = env_parameters (function,NIL);
- break;
- default:
- value = NIL; /* error case */
- break;
- }
- return value;
+ return (function == GET_NEWSRC) ? env_parameters (function,value) : NIL;
}
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates