]> git.eshelyaron.com Git - emacs.git/commitdiff
Build fix for --enable-check-lisp-object-type
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 2 Feb 2016 02:17:53 +0000 (03:17 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 2 Feb 2016 02:17:53 +0000 (03:17 +0100)
* process.c (check_for_dns): Type fix reported by YAMAMOTO
Mitsuharu.

src/process.c

index 762778e529346d2782b5d6f9c12e8ec45efe2055..e4dd123574e08f6d55b3f07c05365dbaaa3e1cce 100644 (file)
@@ -4598,7 +4598,7 @@ check_for_dns (Lisp_Object proc)
 
   /* Sanity check. */
   if (! p->dns_requests)
-    return 1;
+    return Qnil;
 
   ret = gai_error (p->dns_requests[0]);
   if (ret == EAI_INPROGRESS)