Merge pull request #435 from dragos-oancea/mod_voicemail_ivr-nullptr-arg

[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:
Andrey Volk authored and GitHub committed 2020-02-26 23:57:39 +04:00
commit 0970e392c9
1 file changed
+1 -1
@@ -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];