summaryrefslogtreecommitdiff
path: root/logintest.c
diff options
context:
space:
mode:
Diffstat (limited to 'logintest.c')
-rw-r--r--logintest.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/logintest.c b/logintest.c
index 3f3997d10..da9ea50ec 100644
--- a/logintest.c
+++ b/logintest.c
@@ -9,6 +9,11 @@
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution. 11 * documentation and/or other materials provided with the distribution.
12 * 3. All advertising materials mentioning features or use of this software
13 * must display the following acknowledgement:
14 * This product includes software developed by Markus Friedl.
15 * 4. The name of the author may not be used to endorse or promote products
16 * derived from this software without specific prior written permission.
12 * 17 *
13 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 18 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
14 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
@@ -43,7 +48,7 @@
43 48
44#include "loginrec.h" 49#include "loginrec.h"
45 50
46RCSID("$Id: logintest.c,v 1.10 2003/08/21 23:34:41 djm Exp $"); 51RCSID("$Id: logintest.c,v 1.8 2001/04/05 23:05:22 stevesk Exp $");
47 52
48#ifdef HAVE___PROGNAME 53#ifdef HAVE___PROGNAME
49extern char *__progname; 54extern char *__progname;
@@ -287,7 +292,7 @@ main(int argc, char *argv[])
287{ 292{
288 printf("Platform-independent login recording test driver\n"); 293 printf("Platform-independent login recording test driver\n");
289 294
290 __progname = ssh_get_progname(argv[0]); 295 __progname = get_progname(argv[0]);
291 if (argc == 2) { 296 if (argc == 2) {
292 if (strncmp(argv[1], "-i", 3) == 0) 297 if (strncmp(argv[1], "-i", 3) == 0)
293 compile_opts_only = 1; 298 compile_opts_only = 1;