From 5f97064b277ef4551c96f377906a4eb18751a4c2 Mon Sep 17 00:00:00 2001 From: Jan-Piet Mens Date: Mon, 17 Aug 2015 18:54:49 +0200 Subject: [PATCH] change default stdout format --- ot-recorder.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ot-recorder.c b/ot-recorder.c index 2c4dab4..3e2c580 100644 --- a/ot-recorder.c +++ b/ot-recorder.c @@ -559,7 +559,7 @@ void on_message(struct mosquitto *mosq, void *userdata, const struct mosquitto_m strcpy(t, " "); } - fprintf(stderr, "%c %s %-35s t=%-1.1s tid=%-2.2s loc=%.5f,%.5f [%s] %s\n", + fprintf(stderr, "%c %s %-35s t=%-1.1s tid=%-2.2s loc=%.5f,%.5f [%s] %s (%s)\n", (cached) ? '*' : '-', ltime(tst), m->topic, @@ -567,7 +567,8 @@ void on_message(struct mosquitto *mosq, void *userdata, const struct mosquitto_m tid, lat, lon, utstring_body(cc), - utstring_body(addr) + utstring_body(addr), + utstring_body(ghash) );