summaryrefslogtreecommitdiff
path: root/stdioclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdioclient.c')
-rw-r--r--stdioclient.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdioclient.c b/stdioclient.c
index 5993282..be7d091 100644
--- a/stdioclient.c
+++ b/stdioclient.c
@@ -1,7 +1,7 @@
/*
* rhctl
*
- * Copyright (C) 2009 Christian Pointner <equinox@spreadspace.org>
+ * Copyright (C) 2009-2013 Christian Pointner <equinox@helsinki.at>
*
* This file is part of rhctl.
*
@@ -50,7 +50,7 @@ int process_data(int src_fd, int dest_fd)
return ret;
log_printf(DEBUG, "read %d bytes from fd (%d)", ret, src_fd);
-
+
int len = ret;
int offset = 0;
for(;;) {
@@ -103,7 +103,7 @@ int main_loop(int cmd_fd, options_t* opt)
if(FD_ISSET(sig_fd, &tmpfds))
if(signal_handle())
return_value = 1;
-
+
if(FD_ISSET(0, &tmpfds))
return_value = process_data(0, cmd_fd);
@@ -150,7 +150,7 @@ int main(int argc, char* argv[])
case -4: fprintf(stderr, "this log target is only allowed once: '%s', exitting\n", tmp->string_); break;
default: fprintf(stderr, "syntax error near: '%s', exitting\n", tmp->string_); break;
}
-
+
options_clear(&opt);
log_close();
exit(ret);