2005-12-24 03:20:40 -05:00
|
|
|
$OpenBSD: patch-readconf_c,v 1.2 2005/12/24 08:20:40 pvalchev Exp $
|
|
|
|
--- readconf.c.orig Sat May 3 05:57:22 1997
|
|
|
|
+++ readconf.c Fri Dec 23 23:44:56 2005
|
|
|
|
@@ -17,7 +17,7 @@
|
|
|
|
#include <syslog.h>
|
|
|
|
#include <sys/socket.h>
|
|
|
|
#include <netinet/in.h>
|
|
|
|
-#include <sys/errno.h>
|
|
|
|
+#include <errno.h>
|
|
|
|
|
|
|
|
#include "policy.h"
|
|
|
|
#include "readconf.h"
|
2004-01-04 18:37:27 -05:00
|
|
|
@@ -648,7 +648,7 @@ EncodingByAddress(void)
|
|
|
|
retval=NULL; \
|
|
|
|
while(list!=NULL) \
|
|
|
|
{ \
|
|
|
|
- if(list->##fieldn == compval) \
|
|
|
|
+ if(list->fieldn == compval) \
|
|
|
|
retval=list; \
|
|
|
|
list=list->chain; \
|
|
|
|
} \
|