projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
091f831
)
nc: fix build failure ("subscripted value is neither array nor pointer")
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sun, 17 Mar 2013 21:59:51 +0000
(22:59 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sun, 17 Mar 2013 21:59:51 +0000
(22:59 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/nc.c
patch
|
blob
|
history
diff --git
a/networking/nc.c
b/networking/nc.c
index 5f4cb89ccf761da91650a1a23996ca65e9de600f..126bec906488193736e52400aaab5a8702ffa38c 100644
(file)
--- a/
networking/nc.c
+++ b/
networking/nc.c
@@
-229,7
+229,7
@@
int nc_main(int argc, char **argv)
xdup2(0, 1);
/*xdup2(0, 2); - original nc 1.10 does this, we don't */
IF_NC_EXTRA(BB_EXECVP(execparam[0], execparam);)
- bb_perror_msg_and_die("can't execute '%s'", execparam[0]);
+ IF_NC_EXTRA(bb_perror_msg_and_die("can't execute '%s'", execparam[0]);)
}
/* Select loop copying stdin to cfd, and cfd to stdout */