Hi,

I was not able to force that GAMIN called sendmsg which 
was defined in libc.so. 
Then, I modified COURIER-IMAP, instead of GAMIN.
--
                                HIROSHI OOTA


--- imap/outbox.c.orig  Tue Jul 13 07:35:27 2004
+++ imap/outbox.c       Wed Nov 15 20:06:33 2006
@@ -92,10 +92,10 @@
                argv[5]=NULL;
        }
 
-       return (sendmsg(message, argv, errlogger));
+       return (ci_sendmsg(message, argv, errlogger));
 }
 
-int sendmsg(const char *message, char **argv, void (*err_func)(char *))
+int ci_sendmsg(const char *message, char **argv, void (*err_func)(char *))
 {
        char buffer[512];
        int i;
--- imap/outbox.h.orig  Wed May 28 00:55:10 2003
+++ imap/outbox.h       Wed Nov 15 19:46:54 2006
@@ -10,7 +10,7 @@
 
 int check_outbox(const char *message, const char *mailbox);
 int is_outbox(const char *mailbox);
-int sendmsg(const char *message, char **argv, void (*err_func)(char *));
+int ci_sendmsg(const char *message, char **argv, void (*err_func)(char *));
 const char *defaultSendFrom();
 
 #endif
--- imap/smap.c.orig    Tue Nov 22 10:17:31 2005
+++ imap/smap.c Wed Nov 15 19:44:22 2006
@@ -3496,7 +3496,7 @@
                                                }
                                                argvec[i]=0;
 
-                                               i=sendmsg(tmpname, argvec,
+                                               i=ci_sendmsg(tmpname, argvec,
                                                          &senderr);
                                                free(argvec);
                                                if (i)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to