]> code.citadel.org Git - citadel.git/blobdiff - citadel/serv_funambol.c
* added a comment infront of the svn modifieable returns. Now it will be me listed...
[citadel.git] / citadel / serv_funambol.c
index 751ecda3da7a5e310320944ffcf32adc4397acac..9e0601246221ce93e21961fdc2c926ae3d8695c2 100644 (file)
@@ -95,17 +95,10 @@ void do_notify_queue(void) {
 /*
  * Connect to the Funambol server and scan a message.
  */
-int notify_funambol(long msgnum, void *userdata) {
+void notify_funambol(long msgnum, void *userdata) {
        struct CtdlMessage *msg;
        int sock = (-1);
-       char fnblhosts[SIZ];
-       int num_fnblhosts;
        char buf[SIZ];
-       int is_spam = 0;
-       int fnbl;
-       char *msgtext;
-       size_t msglen;
-       char host[SIZ];
        char SOAPHeader[SIZ];
        char SOAPData[SIZ];
        char port[SIZ];
@@ -128,7 +121,7 @@ int notify_funambol(long msgnum, void *userdata) {
 
        if (sock < 0) {
                /* If the service isn't running, pass for now */
-               return(0);
+               return;
        }
        
        /* Build a SOAP message, delicately, by hand */
@@ -222,7 +215,6 @@ int notify_funambol(long msgnum, void *userdata) {
        long todelete[1];
        todelete[0] = msgnum;
        CtdlDeleteMessages(FNBL_QUEUE_ROOM, todelete, 1, "");
-       return 0;
 }
 
 
@@ -231,5 +223,7 @@ char *serv_funambol_init(void)
 {
        create_notify_queue();
        CtdlRegisterSessionHook(do_notify_queue, EVT_TIMER);
-        return "$Id: serv_funambol.c $";
+
+       /* return our Subversion id for the Log */
+        return "$Id$";
 }