summaryrefslogtreecommitdiff
path: root/content/fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/fetch.c')
-rw-r--r--content/fetch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/fetch.c b/content/fetch.c
index 6c9145560..f49bbb3cc 100644
--- a/content/fetch.c
+++ b/content/fetch.c
@@ -533,6 +533,8 @@ long fetch_http_code(struct fetch *fetch)
*/
const char *fetch_get_referer(struct fetch *fetch)
{
+ assert(fetch);
+
return fetch->referer;
}