diff --git a/src/elogd.c b/src/elogd.c index 42fb8ab2..6d87df73 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -1790,6 +1790,7 @@ int send_with_timeout(void *p, int sock, char *buf, int buf_size) time(&start); sent = 0; send_size = buf_size; + pbuf = p; // fix compiler warning pbuf = buf; do { @@ -2496,6 +2497,7 @@ int retrieve_url(LOGBOOK * lbs, const char *url, int ssl, char **buffer) static int sock, last_port; static char last_host[256]; + i = ssl; // fix compiler warning *buffer = NULL; split_url(url, host, &port, subdir, param);