diff options
author | Matt Johnston <matt@ucc.asn.au> | 2006-03-08 15:46:24 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2006-03-08 15:46:24 +0000 |
commit | 9368e4db33e86464614fc140897a25ac310c834b (patch) | |
tree | 7e498739f812b311601f0e4354cc5cadf0a5fa05 /scp.c | |
parent | ae15e644b196d1925dcbe31644096148c31a80df (diff) |
code was untested and wrong.
--HG--
extra : convert_revision : bd8c4eb7071bb69f5cf17715072ae625a5267324
Diffstat (limited to 'scp.c')
-rw-r--r-- | scp.c | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -234,18 +234,18 @@ do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout, int argc) #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__ */ |