projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3b541b4
)
funambol65.c: cleaned up compiler warnings
author
Art Cancro
<ajc@citadel.org>
Thu, 7 Feb 2008 17:42:45 +0000
(17:42 +0000)
committer
Art Cancro
<ajc@citadel.org>
Thu, 7 Feb 2008 17:42:45 +0000
(17:42 +0000)
citadel/modules/extnotify/funambol65.c
patch
|
blob
|
history
diff --git
a/citadel/modules/extnotify/funambol65.c
b/citadel/modules/extnotify/funambol65.c
index 1ea5117ffe56ad0a822a39a0f8e7c73c7e284678..2a9ee25408da2bee9a979a6378914f3478a3af90 100644
(file)
--- a/
citadel/modules/extnotify/funambol65.c
+++ b/
citadel/modules/extnotify/funambol65.c
@@
-23,6
+23,7
@@
#include "sysconfig.h"
#include "config.h"
#include "sysdep_decls.h"
#include "sysconfig.h"
#include "config.h"
#include "sysdep_decls.h"
+#include "msgbase.h"
/*
* \brief Sends a message to the Funambol server notifying
/*
* \brief Sends a message to the Funambol server notifying
@@
-37,7
+38,6
@@
int notify_funambol_server(char *user) {
char *SOAPHeader;
char *funambolCreds;
FILE *template;
char *SOAPHeader;
char *funambolCreds;
FILE *template;
- FILE *fnblConf;
sprintf(port, "%d", config.c_funambol_port);
sock = sock_connect(config.c_funambol_host, port, "tcp");
sprintf(port, "%d", config.c_funambol_port);
sock = sock_connect(config.c_funambol_host, port, "tcp");
@@
-98,8
+98,8
@@
int notify_funambol_server(char *user) {
funambolCreds);
strcat(SOAPHeader, buf);
funambolCreds);
strcat(SOAPHeader, buf);
-
int written_header =
sock_write(sock, SOAPHeader, strlen(SOAPHeader));
-
int written_body =
sock_write(sock, SOAPMessage, strlen(SOAPMessage));
+ sock_write(sock, SOAPHeader, strlen(SOAPHeader));
+ sock_write(sock, SOAPMessage, strlen(SOAPMessage));
sock_shutdown(sock, SHUT_WR);
/* Response */
sock_shutdown(sock, SHUT_WR);
/* Response */