diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2013-05-13 14:31:20 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2013-05-13 14:31:20 +0000 |
commit | bb4c595810ccd9b849be2d20f5c16d6076d083bb (patch) | |
tree | a0443629b2d996f0597f75e8bafee3f8fd13505e /src/proxy | |
parent | 84c47b0ce10547fdf223f721ef88f7af09af5401 (diff) |
Introducing the hts_log_print() logging function
* cleaned up logging
Diffstat (limited to 'src/proxy')
-rw-r--r-- | src/proxy/proxytrack.c | 2 | ||||
-rw-r--r-- | src/proxy/store.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/proxy/proxytrack.c b/src/proxy/proxytrack.c index 6de5f40..82bf7b1 100644 --- a/src/proxy/proxytrack.c +++ b/src/proxy/proxytrack.c @@ -792,8 +792,6 @@ static PT_Element proxytrack_process_HTTP_List(PT_Indexes indexes, const char * static void proxytrack_process_HTTP(PT_Indexes indexes, T_SOC soc_c) { int timeout=30; - int retour=0; - int willexit=0; int buffer_size = 32768; char * buffer = (char*)malloc(buffer_size); int line1Size = 1024; diff --git a/src/proxy/store.c b/src/proxy/store.c index 2be2257..d63c1f2 100644 --- a/src/proxy/store.c +++ b/src/proxy/store.c @@ -1413,7 +1413,7 @@ static int PT_LoadCache__Old(PT_Index index_, const char *filename) { /* */ } else { // Vieille version du cache /* */ - // HTS_LOG(opt,LOG_WARNING); fprintf(opt->log,"Cache: importing old cache format"LF); + // hts_log_print(opt, LOG_WARNING, "Cache: importing old cache format"); cache->version=0; // cache 1.0 strcpy(cache->lastmodified,firstline); } |