Deleted Added
full compact
dispatch.c (79065) dispatch.c (79304)
1/*
2 * The new sysinstall program.
3 *
4 * This is probably the last program in the `sysinstall' line - the next
5 * generation being essentially a complete rewrite.
6 *
1/*
2 * The new sysinstall program.
3 *
4 * This is probably the last program in the `sysinstall' line - the next
5 * generation being essentially a complete rewrite.
6 *
7 * $FreeBSD: head/usr.sbin/sade/dispatch.c 79065 2001-07-02 00:18:04Z dd $
7 * $FreeBSD: head/usr.sbin/sade/dispatch.c 79304 2001-07-05 09:51:09Z kris $
8 *
9 * Copyright (c) 1995
10 * Jordan Hubbard. All rights reserved.
11 *
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions
14 * are met:
15 * 1. Redistributions of source code must retain the above copyright

--- 173 unchanged lines hidden (view full) ---

189}
190
191static int
192dispatch_msgConfirm(dialogMenuItem *unused)
193{
194 char *msg = variable_get(VAR_COMMAND);
195
196 if (msg) {
8 *
9 * Copyright (c) 1995
10 * Jordan Hubbard. All rights reserved.
11 *
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions
14 * are met:
15 * 1. Redistributions of source code must retain the above copyright

--- 173 unchanged lines hidden (view full) ---

189}
190
191static int
192dispatch_msgConfirm(dialogMenuItem *unused)
193{
194 char *msg = variable_get(VAR_COMMAND);
195
196 if (msg) {
197 msgConfirm(msg);
197 msgConfirm("%s", msg);
198 return DITEM_SUCCESS;
199 }
200
201 msgDebug("_msgConfirm: No message passed in `command' variable.\n");
202 return DITEM_FAILURE;
203}
204
205static int

--- 228 unchanged lines hidden ---
198 return DITEM_SUCCESS;
199 }
200
201 msgDebug("_msgConfirm: No message passed in `command' variable.\n");
202 return DITEM_FAILURE;
203}
204
205static int

--- 228 unchanged lines hidden ---