projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f39e55
)
client: prefix server text messages with <hostname>
author
Jens Axboe
<axboe@kernel.dk>
Wed, 5 Oct 2011 09:55:08 +0000
(11:55 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 5 Oct 2011 09:55:08 +0000
(11:55 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
client.c
patch
|
blob
|
blame
|
history
diff --git
a/client.c
b/client.c
index 01f64086ae6bbc4f1fc8bf154fef1064008e27f5..fd51654a125be21ea14888748890dbe7b6165a6e 100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-494,7
+494,7
@@
static int handle_client(struct fio_client *client, int one)
int fio_unused ret;
if (!client->skip_newline)
- fprintf(f_out, "
Client <%s>:
", client->hostname);
+ fprintf(f_out, "
<%s>
", client->hostname);
ret = fwrite(buf, cmd->pdu_len, 1, f_out);
fflush(f_out);
client->skip_newline = strchr(buf, '\n') == NULL;