aboutsummaryrefslogtreecommitdiff
path: root/examples/c-simple/c-simple.c
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2023-12-04 13:13:05 +0100
committerToni Uhlig <matzeton@googlemail.com>2023-12-04 13:13:05 +0100
commitf5c5bc88a7154db3ef6c1f50f59ffe62e6d2f447 (patch)
tree018ec38a55dfd9fb09de7661d31ace773e87f838 /examples/c-simple/c-simple.c
parent53d8a28582c4183ee052d4018334d58153367467 (diff)
Replaced ambiguous naming of "JSON string" to more accurate "JSON message". #2
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'examples/c-simple/c-simple.c')
-rw-r--r--examples/c-simple/c-simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/c-simple/c-simple.c b/examples/c-simple/c-simple.c
index 29321c963..514935619 100644
--- a/examples/c-simple/c-simple.c
+++ b/examples/c-simple/c-simple.c
@@ -253,7 +253,7 @@ int main(int argc, char ** argv)
enum nDPIsrvd_parse_return parse_ret = nDPIsrvd_parse_all(sock);
if (parse_ret != PARSE_NEED_MORE_DATA)
{
- printf("Could not parse json string %s: %.*s\n",
+ printf("Could not parse JSON message %s: %.*s\n",
nDPIsrvd_enum_to_string(parse_ret),
nDPIsrvd_json_buffer_length(sock),
nDPIsrvd_json_buffer_string(sock));