]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
http: quickfix
authorJaroslav Kysela <perex@perex.cz>
Fri, 8 Apr 2016 17:21:31 +0000 (19:21 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 8 Apr 2016 17:21:31 +0000 (19:21 +0200)
src/http.c

index fd07efb26e03c2a72a963bb1b2e642cc6d7bee55..243c70774a9f3348ad61613252b9b6fe078a5ca1 100644 (file)
@@ -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);