comparison scp.c @ 444:c0ce48053259

uClinux ifdef was accidentally inverted
author Matt Johnston <matt@ucc.asn.au>
date Thu, 19 Jul 2007 14:08:01 +0000
parents 497fddd4a94e
children 29953de278ae
comparison
equal deleted inserted replaced
443:2d943453cecf 444:c0ce48053259
198 addargs(&args, "%s", host); 198 addargs(&args, "%s", host);
199 addargs(&args, "%s", cmd); 199 addargs(&args, "%s", cmd);
200 #endif /* __uClinux__ */ 200 #endif /* __uClinux__ */
201 201
202 /* Fork a child to execute the command on the remote host using ssh. */ 202 /* Fork a child to execute the command on the remote host using ssh. */
203 #ifndef __uClinux__ 203 #ifdef __uClinux__
204 do_cmd_pid = vfork(); 204 do_cmd_pid = vfork();
205 #else 205 #else
206 do_cmd_pid = fork(); 206 do_cmd_pid = fork();
207 #endif /* __uClinux__ */ 207 #endif /* __uClinux__ */
208 208