summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2010-09-12 12:33:21 -0400
committerJason Woodward2010-09-12 12:33:21 -0400
commit0b20bed58c5fd30f0791e1c2462a34ed1083c452 (patch)
tree278de4beca50308a77ea300f9063641117967e64
parentd5b229d22002784973a0cfcf5ae14e35064ebdc5 (diff)
downloadslapt-get-0b20bed58c5fd30f0791e1c2462a34ed1083c452.tar.gz
use SLAPT_TRUE in dl_stats check
-rw-r--r--src/curl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/curl.c b/src/curl.c
index 8b9b5a0..831fcaf 100644
--- a/src/curl.c
+++ b/src/curl.c
@@ -57,7 +57,7 @@ int slapt_download_data(FILE *fh,const char *url,size_t bytes,long *filetime,
headers = curl_slist_append(headers, "Pragma: "); /* override no-cache */
- if (global_config->dl_stats != 1) {
+ if (global_config->dl_stats != SLAPT_TRUE) {
if (global_config->progress_cb == NULL) {
curl_easy_setopt(ch, CURLOPT_PROGRESSFUNCTION, slapt_progress_callback );
} else {