goto nuke;
}
/* Are we allowed to push? */
- if ( strlen(config.c_funambol_host) == 0) {
+ if (IsEmptyStr(config.c_funambol_host)) {
goto nuke;
} else {
lprintf(CTDL_INFO, "Push enabled\n");
);
strcat(SOAPHeader,buf);
strcat(SOAPHeader,"Pragma: no-cache\r\nSOAPAction: \"\"\r\n");
- sprintf(buf, "Content-Length: %d\r\n",
+ sprintf(buf, "Content-Length: " SIZE_T_FMT "\r\n",
strlen(SOAPData));
strcat(SOAPHeader, buf);
sprintf(buf, "Authorization: Basic %s\r\n\r\n",