/*
* 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 buf[SIZ];
if (sock < 0) {
/* If the service isn't running, pass for now */
- return(0);
+ return;
}
/* Build a SOAP message, delicately, by hand */
long todelete[1];
todelete[0] = msgnum;
CtdlDeleteMessages(FNBL_QUEUE_ROOM, todelete, 1, "");
- return 0;
}