From 47c9a42b0810266dd8ddb10ea7996f4a4de61732 Mon Sep 17 00:00:00 2001 From: niklas Date: Wed, 8 Mar 2000 08:42:38 +0000 Subject: [PATCH] Merge with EOM 1.38 author: niklas Comparison to wrong var, fix by rayl@mail.com --- sbin/isakmpd/ui.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sbin/isakmpd/ui.c b/sbin/isakmpd/ui.c index 28a2242f584..4161af39b52 100644 --- a/sbin/isakmpd/ui.c +++ b/sbin/isakmpd/ui.c @@ -1,5 +1,5 @@ -/* $OpenBSD: ui.c,v 1.12 2000/02/25 17:23:42 niklas Exp $ */ -/* $EOM: ui.c,v 1.37 2000/02/20 19:58:42 niklas Exp $ */ +/* $OpenBSD: ui.c,v 1.13 2000/03/08 08:42:38 niklas Exp $ */ +/* $EOM: ui.c,v 1.38 2000/03/07 20:22:14 niklas Exp $ */ /* * Copyright (c) 1998, 1999 Niklas Hallqvist. All rights reserved. @@ -148,13 +148,13 @@ ui_config (char *cmd) goto fail; conf_set (trans, section, tag, value, override); } - else if (strcasecmp (cmd, "rm") == 0) + else if (strcasecmp (subcmd, "rm") == 0) { if (sscanf (cmd, "C %*s [%80[^]]]:%80s", section, tag) != 2) goto fail; conf_remove (trans, section, tag); } - else if (strcasecmp (cmd, "rms") == 0) + else if (strcasecmp (subcmd, "rms") == 0) { if (sscanf (cmd, "C %*s [%80[^]]]", section) != 1) goto fail; -- 2.20.1