summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-05-05 10:08:39 +0200
committerdefault <nobody@localhost>2023-05-05 10:08:39 +0200
commit8cd79df272645da70cfe2980d6f9c0c33c13e452 (patch)
treec814958a4b2006afc604bc1bbeeb34197ddc3694
parentc1772cbca6d2562dadbc686fe481b88960398173 (diff)
Fixed bug in ping cmdline debug output.
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index b8fc97b..c44b527 100644
--- a/main.c
+++ b/main.c
@@ -236,7 +236,7 @@ int main(int argc, char *argv[])
if (dbglevel) {
xs *j = xs_json_dumps_pp(msg, 4);
- printf("%s\n", msg);
+ printf("%s\n", j);
}
return 0;