summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-02-15 16:46:42 -0800
committerGuy Harris <guy@alum.mit.edu>2017-02-16 00:47:05 +0000
commit724dc1cf5c7a2eaef10ebb4aec399d5f06fc4ed3 (patch)
tree05bc0faa409f8f11486dcb12884ce20f67aaea4b
parent64f83641ad1ddd8969b08ccb64975daa582427f5 (diff)
downloadwireshark-724dc1cf5c7a2eaef10ebb4aec399d5f06fc4ed3.tar.gz
"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>
-rw-r--r--wiretap/file_access.c2
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 },