From 1fd44d1efd6c40d142dffe76dea0026818ec102f Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Thu, 7 Feb 2008 17:42:45 +0000 Subject: [PATCH] funambol65.c: cleaned up compiler warnings --- citadel/modules/extnotify/funambol65.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 */ -- 2.30.2