funambol65.c: cleaned up compiler warnings
authorArt Cancro <ajc@citadel.org>
Thu, 7 Feb 2008 17:42:45 +0000 (17:42 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 7 Feb 2008 17:42:45 +0000 (17:42 +0000)
citadel/modules/extnotify/funambol65.c

index 1ea5117ffe56ad0a822a39a0f8e7c73c7e284678..2a9ee25408da2bee9a979a6378914f3478a3af90 100644 (file)
@@ -23,6 +23,7 @@
 #include "sysconfig.h"
 #include "config.h"
 #include "sysdep_decls.h"
+#include "msgbase.h"
 
 /*
 * \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;
-       FILE *fnblConf;
        
        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);
        
-       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 */