changeset 289:497fddd4a94e

code was untested and wrong.
author Matt Johnston <matt@ucc.asn.au>
date Wed, 08 Mar 2006 15:46:24 +0000
parents a933abec6d06
children 94ee16f5b8a8
files scp.c
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/scp.c	Wed Mar 08 15:07:52 2006 +0000
+++ b/scp.c	Wed Mar 08 15:46:24 2006 +0000
@@ -234,18 +234,18 @@
 #ifdef __uClinux__
 	/* clean up command */
 	/* pop cmd */
-	xfree(args->list[args->num-1]);
-	args->list[args->num-1]=NULL;
-	args->num--;
+	xfree(args.list[args.num-1]);
+	args.list[args.num-1]=NULL;
+	args.num--;
 	/* pop host */
-	xfree(args->list[args->num-1]);
-	args->list[args->num-1]=NULL;
-	args->num--;
+	xfree(args.list[args.num-1]);
+	args.list[args.num-1]=NULL;
+	args.num--;
 	/* pop user */
 	if (remuser != NULL) {
-		xfree(args->list[args->num-1]);
-		args->list[args->num-1]=NULL;
-		args->num--;
+		xfree(args.list[args.num-1]);
+		args.list[args.num-1]=NULL;
+		args.num--;
 	}
 #endif /* __uClinux__ */