projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Server-side changes to allow users to submit messages
[citadel.git]
/
citadel
/
serv_funambol.c
diff --git
a/citadel/serv_funambol.c
b/citadel/serv_funambol.c
index ba159173f48b420bde02814d6eea8c1f75c39d0d..271dc102f41bb49010feaa8103a41b224e563e99 100644
(file)
--- a/
citadel/serv_funambol.c
+++ b/
citadel/serv_funambol.c
@@
-95,7
+95,7
@@
void do_notify_queue(void) {
/*
* Connect to the Funambol server and scan a message.
*/
/*
* 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];
struct CtdlMessage *msg;
int sock = (-1);
char buf[SIZ];
@@
-121,7
+121,7
@@
int notify_funambol(long msgnum, void *userdata) {
if (sock < 0) {
/* If the service isn't running, pass for now */
if (sock < 0) {
/* If the service isn't running, pass for now */
- return
(0)
;
+ return;
}
/* Build a SOAP message, delicately, by hand */
}
/* Build a SOAP message, delicately, by hand */
@@
-215,7
+215,6
@@
int notify_funambol(long msgnum, void *userdata) {
long todelete[1];
todelete[0] = msgnum;
CtdlDeleteMessages(FNBL_QUEUE_ROOM, todelete, 1, "");
long todelete[1];
todelete[0] = msgnum;
CtdlDeleteMessages(FNBL_QUEUE_ROOM, todelete, 1, "");
- return 0;
}
}