changeset 86:ace512d2ad5d

Small fixes
author Matt Johnston <matt@ucc.asn.au>
date Tue, 17 Aug 2004 10:40:31 +0000
parents 2877c5a02d7c
children 680a0bc9df0a
files Makefile.in compat.c dbmulti.c
diffstat 3 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Tue Aug 17 10:29:04 2004 +0000
+++ b/Makefile.in	Tue Aug 17 10:40:31 2004 +0000
@@ -194,7 +194,9 @@
 sizes: dropbear
 	objdump -t dropbear|grep ".text"|cut -d "." -f 2|sort -rn
 
-clean: ltc-clean ltm-clean
+clean: ltc-clean ltm-clean thisclean
+
+thisclean:
 	-rm -f dropbear dbclient dropbearkey dropbearconvert scp scp-progress
 	-rm -f staticdropbear staticdropbearkey staticdropbearconvert staticscp
 	-rm -f dropbearmulti staticdropbearmulti
--- a/compat.c	Tue Aug 17 10:29:04 2004 +0000
+++ b/compat.c	Tue Aug 17 10:40:31 2004 +0000
@@ -190,7 +190,7 @@
 
 #ifndef HAVE_BASENAME
 
-char *basename(char *path) {
+char *basename(const char *path) {
 
 	char *foo = strrchr(path, '/');
 	return ++foo;
--- a/dbmulti.c	Tue Aug 17 10:29:04 2004 +0000
+++ b/dbmulti.c	Tue Aug 17 10:40:31 2004 +0000
@@ -44,7 +44,8 @@
 		}
 #endif
 #ifdef DBMULTI_dbclient
-		if (strcmp(progname, "dbclient") == 0) {
+		if (strcmp(progname, "dbclient") == 0
+				|| strcmp(progname, "ssh") == 0) {
 			return cli_main(argc, argv);
 		}
 #endif