1
0
mirror of https://github.com/openbsd/src.git synced 2026-06-19 15:53:31 +02:00

relayd: fix DEBUG build

feedback and OK tb@
This commit is contained in:
rsadowski
2026-05-19 05:04:11 +00:00
parent e36bcaa7ab
commit afd582eb4b
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.36 2026/02/18 22:27:03 kirill Exp $
# $OpenBSD: Makefile,v 1.37 2026/05/19 05:04:11 rsadowski Exp $
PROG= relayd
SRCS= parse.y
@@ -11,6 +11,7 @@ MAN= relayd.8 relayd.conf.5
LDADD= -lagentx -levent -ltls -lssl -lcrypto -lutil
DPADD= ${LIBAGENTX} ${LIBEVENT} ${LIBSSL} ${LIBCRYPTO} ${LIBUTIL}
#DEBUG= -g -DDEBUG=3 -O0
CFLAGS+= -Wall -I${.CURDIR}
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
+3 -3
View File
@@ -1,4 +1,4 @@
/* $OpenBSD: config.c,v 1.50 2026/04/03 13:21:00 op Exp $ */
/* $OpenBSD: config.c,v 1.51 2026/05/19 05:04:11 rsadowski Exp $ */
/*
* Copyright (c) 2011 - 2014 Reyk Floeter <reyk@openbsd.org>
@@ -1177,9 +1177,9 @@ config_getrelayfd(struct relayd *env, struct imsg *imsg)
break;
}
DPRINTF("%s: %s %d received relay fd %d type %d for relay %s", __func__,
DPRINTF("%s: %s %d received relay type %d for relay %s", __func__,
env->sc_ps->ps_title[privsep_process], env->sc_ps->ps_instance,
imsg->fd, crfd.type, rlay->rl_conf.name);
crfd.type, rlay->rl_conf.name);
return (0);
}