summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-11-10 18:48:19 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-11-10 18:48:19 +0100
commit3f2fa278d144eb7e2ac86d54784644fb82f97c9a (patch)
treec0add2a0321b80a448c6d4f40b62cc6d3b949177
parent66b8f752cfc60cbd0bd5c6d3b93bda1b66154769 (diff)
downloadpjctl-3f2fa278d144eb7e2ac86d54784644fb82f97c9a.tar.gz
pjctl-3f2fa278d144eb7e2ac86d54784644fb82f97c9a.tar.bz2
pjctl-3f2fa278d144eb7e2ac86d54784644fb82f97c9a.zip
Cosmetic
-rw-r--r--src/pjctl.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/pjctl.c b/src/pjctl.c
index ae9af14..06a52d5 100644
--- a/src/pjctl.c
+++ b/src/pjctl.c
@@ -49,7 +49,8 @@ struct pjctl;
struct queue_command {
char *command;
- void (*response_func)(struct pjctl *pjctl, struct queue_command *cmd, char *op, char *param);
+ void (*response_func)(struct pjctl *pjctl, struct queue_command *cmd,
+ char *op, char *param);
char *prefix;
struct queue_command *prev, *next;
};
@@ -137,7 +138,8 @@ static int
handle_setup(struct pjctl *pjctl, char *data, int len)
{
if (data[PJLINK_PARAMETER] == '1') {
- fprintf(stderr, "error: pjlink encryption is not implemented.\n");
+ fprintf(stderr,
+ "error: pjlink encryption is not implemented.\n");
return -1;
}
@@ -322,7 +324,8 @@ source(struct pjctl *pjctl, char **argv, int argc)
num = argv[1][offset];
if (num < '1' || num > '9') {
- fprintf(stderr, "warning: missing source number, defaulting to 1\n");
+ fprintf(stderr,
+ "warning: missing source number, defaulting to 1\n");
num = '1';
}