openbsd-ports/russian/cyrproxy/patches/patch-readconf_c
2005-12-24 08:20:40 +00:00

22 lines
606 B
Plaintext

$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"
@@ -648,7 +648,7 @@ EncodingByAddress(void)
retval=NULL; \
while(list!=NULL) \
{ \
- if(list->##fieldn == compval) \
+ if(list->fieldn == compval) \
retval=list; \
list=list->chain; \
} \