Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
JSON is text data, requested by Vincent Mihalkovic.
  • Loading branch information
zoulasc committed Dec 9, 2021
1 parent f687fa2 commit c49e780
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/is_json.c
Expand Up @@ -32,7 +32,7 @@
#include "file.h"

#ifndef lint
FILE_RCSID("@(#)$File: is_json.c,v 1.15 2020/06/07 19:05:47 christos Exp $")
FILE_RCSID("@(#)$File: is_json.c,v 1.16 2021/12/09 18:38:43 christos Exp $")
#endif

#include <string.h>
Expand Down Expand Up @@ -414,7 +414,7 @@ file_is_json(struct magic_set *ms, const struct buffer *b)
return -1;
return 1;
}
if (file_printf(ms, "JSON data") == -1)
if (file_printf(ms, "JSON text data") == -1)
return -1;
#if JSON_COUNT
#define P(n) st[n], st[n] > 1 ? "s" : ""
Expand Down

0 comments on commit c49e780

Please sign in to comment.