Compile bug fixes when -DDEBUG_CURLIO
This commit is contained in:
@@ -562,8 +562,10 @@ namespace dc
|
||||
fake_channel const warning(1, "WARNING ");
|
||||
fake_channel const curl(1, "CURL ");
|
||||
fake_channel const curlio(1, "CURLIO ");
|
||||
fake_channel const curltr(1, "CURLTR ");
|
||||
fake_channel const statemachine(1, "STATEMACHINE");
|
||||
fake_channel const notice(1, "NOTICE ");
|
||||
fake_channel const snapshot(0, "SNAPSHOT ");
|
||||
|
||||
} // namespace dc
|
||||
} // namespace debug
|
||||
|
||||
@@ -82,8 +82,10 @@ struct fake_channel {
|
||||
extern LL_COMMON_API fake_channel const warning;
|
||||
extern LL_COMMON_API fake_channel const curl;
|
||||
extern LL_COMMON_API fake_channel const curlio;
|
||||
extern LL_COMMON_API fake_channel const curltr;
|
||||
extern LL_COMMON_API fake_channel const statemachine;
|
||||
extern LL_COMMON_API fake_channel const notice;
|
||||
extern LL_COMMON_API fake_channel const snapshot;
|
||||
|
||||
} // namespace dc
|
||||
} // namespace debug
|
||||
|
||||
@@ -152,7 +152,7 @@ void HTTPTimeout::upload_finished(void)
|
||||
// ^ ^ ^ ^ ^ ^ ^ ^
|
||||
// | | | | | | | |
|
||||
bool HTTPTimeout::data_received(size_t n/*,*/
|
||||
#ifdef CWDEBUG
|
||||
#if defined(CWDEBUG) || defined(DEBUG_CURLIO)
|
||||
ASSERT_ONLY_COMMA(bool upload_error_status)
|
||||
#else
|
||||
ASSERT_ONLY_COMMA(bool)
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <stdarg.h>
|
||||
#include <cstring>
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
#include "llpreprocessor.h"
|
||||
#include <curl/curl.h>
|
||||
#define COMPILING_DEBUG_LIBCURL_CC
|
||||
|
||||
Reference in New Issue
Block a user