From 9ed12b0f07edb342aaff21c130d325fd158a9d5b Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 25 Apr 2014 15:40:32 +0000 Subject: (svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL) --- src/network/core/tcp_http.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/network/core/tcp_http.h') diff --git a/src/network/core/tcp_http.h b/src/network/core/tcp_http.h index 6222c7695..36520f136 100644 --- a/src/network/core/tcp_http.h +++ b/src/network/core/tcp_http.h @@ -96,7 +96,7 @@ public: const char *data = NULL, int depth = 0) : TCPConnecter(address), callback(callback), - url(strdup(url)), + url(stredup(url)), data(data), depth(depth) { -- cgit v1.2.3-70-g09d2