From bc8310a227bd67ee40b4eee1c3a9544989d5e560 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Mon, 15 Jun 2015 16:31:44 +0200 Subject: [PATCH] Fixed compiler warnings --- src/elogd.c | 2 ++ 1 file changed, 2 insertions(+) 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);