[mod_voicemail_ivr] scan-build: Null pointer passed as an argument to a 'nonnull' parameter - SWITCH_STANDARD_APP(voicemail_ivr_function)

This commit is contained in:
Dragos Oancea
2020-02-25 21:49:09 +00:00
parent 42d3100609
commit 8fdda68018
@@ -68,7 +68,7 @@ SWITCH_STANDARD_APP(voicemail_ivr_function)
if (argv[2])
domain = argv[2];
if (!strcasecmp(argv[0], "check")) {
if (argv[0] && !strcasecmp(argv[0], "check")) {
if (argv[3])
id = argv[3];