/*
* 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;
}
{
create_notify_queue();
CtdlRegisterSessionHook(do_notify_queue, EVT_TIMER);
- return "$Id: serv_funambol.c $";
+
+ /* return our Subversion id for the Log */
+ return "$Id$";
}