summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2012-12-14 01:19:26 +0000
committerdlg <dlg@openbsd.org>2012-12-14 01:19:26 +0000
commit9cc2951bca1305c3e93c30a9d3d4b0c52c314ec6 (patch)
tree6516e2da714e09c595b9cffa641a2c0d456fa2c6
parentChange load_cfg to fix a crash reported by jasper. (diff)
downloadwireguard-openbsd-9cc2951bca1305c3e93c30a9d3d4b0c52c314ec6.tar.xz
wireguard-openbsd-9cc2951bca1305c3e93c30a9d3d4b0c52c314ec6.zip
oops, debug printf sneaked in. i must be out of practice.
spotted by krw@, poked by jmatthew@
-rw-r--r--sys/net/pipex.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/net/pipex.c b/sys/net/pipex.c
index 0221fd29fb9..3b700984e81 100644
--- a/sys/net/pipex.c
+++ b/sys/net/pipex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pipex.c,v 1.36 2012/12/13 06:59:36 dlg Exp $ */
+/* $OpenBSD: pipex.c,v 1.37 2012/12/14 01:19:26 dlg Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -129,10 +129,8 @@ pipex_init(void)
{
extern int max_keylen; /* for radix.c */
- if (pipex_softintr != NULL) {
- printf("pipex_init called twice\n");
+ if (pipex_softintr != NULL)
return;
- }
LIST_INIT(&pipex_session_list);
LIST_INIT(&pipex_close_wait_list);