diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-02-15 16:46:42 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-02-16 00:47:05 +0000 |
commit | 724dc1cf5c7a2eaef10ebb4aec399d5f06fc4ed3 (patch) | |
tree | 05bc0faa409f8f11486dcb12884ce20f67aaea4b /wiretap | |
parent | 64f83641ad1ddd8969b08ccb64975daa582427f5 (diff) |
"NULL" is not what you use for a null pointer.
It's a non-null pointer to a character string with the value "NULL".
You want just NULL, with no quotes.
Change-Id: I51bfb73a3002f46f13a8f513d07b1ddc009a14cb
Reviewed-on: https://code.wireshark.org/review/20123
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/file_access.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/file_access.c b/wiretap/file_access.c index f2a145bb5f..329e5875b4 100644 --- a/wiretap/file_access.c +++ b/wiretap/file_access.c @@ -1597,7 +1597,7 @@ static const struct file_type_subtype_info dump_open_table_base[] = { NULL, NULL, NULL }, /* WTAP_FILE_TYPE_SUBTYPE_JSON */ - { "JavaScript Object Notation", "json", "json", "NULL", + { "JavaScript Object Notation", "json", "json", NULL, FALSE, FALSE, 0, NULL, NULL, NULL }, |