aboutsummaryrefslogtreecommitdiff
path: root/src/IO/http.c
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-05-22 21:19:36 +0200
committerjcid <devnull@localhost>2008-05-22 21:19:36 +0200
commitdd92ec5e90ccd4a552563b06c3e87d7618599745 (patch)
treec29b8e7f39eb87dd2123af755fff4d098898be2a /src/IO/http.c
parentfd2515a4fa2d803750067f1b2201fabedc0340b1 (diff)
- s/strdup/dStrdup/
Diffstat (limited to 'src/IO/http.c')
-rw-r--r--src/IO/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IO/http.c b/src/IO/http.c
index 6275db3d..a907c8cf 100644
--- a/src/IO/http.c
+++ b/src/IO/http.c
@@ -164,7 +164,7 @@ static char *Http_get_referer(const DilloUrl *url)
URL_PATH_(url) ? URL_PATH(url) : "/", "\r\n", NULL);
}
if (!referer)
- referer = strdup("");
+ referer = dStrdup("");
_MSG("http, referer='%s'\n", referer);
return referer;
}