summaryrefslogtreecommitdiff
path: root/stdioclient.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2013-09-16 14:56:54 (GMT)
committerChristian Pointner <equinox@helsinki.at>2013-09-16 14:56:54 (GMT)
commit4dbc730656002f93cbbc0824e4b2d46d1ede6983 (patch)
tree3a21f56519155a35d75d6ff5dbf548a7b4c65cb2 /stdioclient.c
parent6aef19e1b31044795ecd2d356315ad5506a292a2 (diff)
licence updates
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);