aboutsummaryrefslogtreecommitdiffhomepage
path: root/print_help.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2011-12-26 19:18:46 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2011-12-26 19:18:46 -0800
commit8d2f107d61a8b0e099ab9a59b8a32c236da5a5fc (patch)
tree89f718ab74f8400332534aee237c6f925348f05c /print_help.cpp
parent3f16ace6784caab54fb054836ee93902e9701913 (diff)
Some changes to migrate towards C++ and a multithreaded model
Diffstat (limited to 'print_help.cpp')
-rw-r--r--print_help.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/print_help.cpp b/print_help.cpp
index 7f25f7f1..40c1723e 100644
--- a/print_help.cpp
+++ b/print_help.cpp
@@ -21,14 +21,14 @@ void print_help( char *c, int fd )
{
char cmd[ CMD_LEN];
int printed = snprintf( cmd, CMD_LEN, "fish -c '__fish_print_help %s >&%d'", c, fd );
-
+
if( printed < CMD_LEN )
{
if( (system( cmd ) == -1) )
{
write_loop(2, HELP_ERR, strlen(HELP_ERR));
}
-
+
}
-
+
}