correct macro define parameter
parent
0a442615ae
commit
660a471b98
|
|
@ -244,10 +244,10 @@ typedef void* (*MallocFunc)(size_t size);
|
|||
(dest).len = strlen(src); \
|
||||
} while (0)
|
||||
|
||||
#define FC_SET_STRING_EX(dest, src, len) \
|
||||
#define FC_SET_STRING_EX(dest, s, l) \
|
||||
do { \
|
||||
(dest).str = src; \
|
||||
(dest).len = len; \
|
||||
(dest).str = s; \
|
||||
(dest).len = l; \
|
||||
} while (0)
|
||||
|
||||
#define FC_SET_STRING_NULL(dest) \
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
#include "sockopt.h"
|
||||
#include "logger.h"
|
||||
#include "shared_func.h"
|
||||
#include "http_func.h"
|
||||
|
||||
int get_url_content_ex(const char *url, const int url_len,
|
||||
const int connect_timeout, const int network_timeout,
|
||||
|
|
|
|||
Loading…
Reference in New Issue