From: Jaroslav Kysela Date: Fri, 8 Apr 2016 17:21:31 +0000 (+0200) Subject: http: quickfix X-Git-Tag: v4.2.1~696 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1c35c41aeb991921a18f851c4f487ae4290abe01;p=thirdparty%2Ftvheadend.git http: quickfix --- diff --git a/src/http.c b/src/http.c index fd07efb26..243c70774 100644 --- a/src/http.c +++ b/src/http.c @@ -278,7 +278,7 @@ http_nonce_exists(const char *nonce) struct http_nonce *n, tmp; if (nonce == NULL) - return NULL; + return 0; strcpy(tmp.nonce, nonce); pthread_mutex_lock(&global_lock); n = RB_FIND(&http_nonces, &tmp, link, http_nonce_cmp);