From: Art Cancro Date: Thu, 7 Feb 2008 17:42:45 +0000 (+0000) Subject: funambol65.c: cleaned up compiler warnings X-Git-Tag: v7.86~2516 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=1fd44d1efd6c40d142dffe76dea0026818ec102f funambol65.c: cleaned up compiler warnings --- diff --git a/citadel/modules/extnotify/funambol65.c b/citadel/modules/extnotify/funambol65.c index 1ea5117ff..2a9ee2540 100644 --- 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 "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 */