From 5079d07b031c89abcc90c124236266099bcfc0ee Mon Sep 17 00:00:00 2001 From: Niall O'Higgins Date: Thu, 25 Jan 2007 19:40:09 +0000 Subject: return 0, not NULL in a function returning int. ok pyr@ --- usr.sbin/relayd/parse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/relayd/parse.y') diff --git a/usr.sbin/relayd/parse.y b/usr.sbin/relayd/parse.y index f07df7725ef..7dc5648ea6f 100644 --- a/usr.sbin/relayd/parse.y +++ b/usr.sbin/relayd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.17 2007/01/24 06:31:09 pyr Exp $ */ +/* $OpenBSD: parse.y,v 1.18 2007/01/25 19:40:08 niallo Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard @@ -764,7 +764,7 @@ parse_config(struct hoststated *x_conf, const char *filename, int opts) if ((fin = fopen(filename, "r")) == NULL) { warn("%s", filename); - return (NULL); + return (0); } infile = filename; setservent(1); -- cgit v1.2.3