Skip to content

Commit ace780f

Browse files
committed
chore(axiom): change usage of 0 to NULL
1 parent 788c5a0 commit ace780f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

axiom/nr_errors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ nr_error_t* nr_error_create(int priority,
2020
const char* stacktrace_json,
2121
const char* span_id,
2222
nrtime_t when) {
23-
if (0 == message || 0 == klass || 0 == stacktrace_json) {
23+
if (NULL == message || NULL == klass || NULL == stacktrace_json) {
2424
return 0;
2525
}
2626
return nr_error_create_additional_params(priority, message, klass, NULL, 0, NULL, 0,

0 commit comments

Comments
 (0)