From 1a4cbf6251491e758cca757e635f69e373fecd67 Mon Sep 17 00:00:00 2001 From: jkh Date: Mon, 29 Apr 1996 06:47:10 +0000 Subject: Add some more debugging statements. --- usr.sbin/sade/variable.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.sbin/sade/variable.c') diff --git a/usr.sbin/sade/variable.c b/usr.sbin/sade/variable.c index 4f7ad73..85b19e26 100644 --- a/usr.sbin/sade/variable.c +++ b/usr.sbin/sade/variable.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: variable.c,v 1.8 1996/04/13 13:32:15 jkh Exp $ + * $Id: variable.c,v 1.9 1996/04/23 01:29:35 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -49,6 +49,8 @@ make_variable(char *var, char *value) /* Now search to see if it's already in the list */ for (newvar = VarHead; newvar; newvar = newvar->next) { if (!strcmp(newvar->name, var)) { + if (isDebug()) + msgDebug("variable %s was %s, now %s\n", newvar->name, newvar->value, value); strncpy(newvar->value, value, VAR_VALUE_MAX); return; } -- cgit v1.1