summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/relay.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-11-24 13:39:25 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-11-24 13:39:25 +0000
commit4b30c97314d9c44d6ef935401f0cb60533941f6c (patch)
tree3087bb21ff6524272ba3394cb751e1f2e12d46c0 /usr.sbin/relayd/relay.c
parent551eb58c749644a49e3496a392a53eff24ddb89d (diff)
fix goto to jump to the right place
Diffstat (limited to 'usr.sbin/relayd/relay.c')
-rw-r--r--usr.sbin/relayd/relay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/relayd/relay.c b/usr.sbin/relayd/relay.c
index 75e2820038e..20550aaef0f 100644
--- a/usr.sbin/relayd/relay.c
+++ b/usr.sbin/relayd/relay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relay.c,v 1.67 2007/11/23 09:39:42 reyk Exp $ */
+/* $OpenBSD: relay.c,v 1.68 2007/11/24 13:39:24 reyk Exp $ */
/*
* Copyright (c) 2006, 2007 Reyk Floeter <reyk@openbsd.org>
@@ -1564,7 +1564,7 @@ relay_lookup_url(struct ctl_relay_event *cre, const char *str,
PROTONODE_FOREACH(pnv, proot, entry) {
ret = relay_handle_http(cre, proot, pnv, &pkv, 0);
if (ret == PN_FAIL)
- goto done;
+ goto fail;
}
done: