Replace possible null pointer no '(null)' string

This commit is contained in:
Diadlo 2017-06-10 23:56:18 +03:00
commit 48709842a6
No known key found for this signature in database
GPG key ID: 5AF9F2E29107C727

View file

@ -3173,7 +3173,7 @@ int main(int argc, char *argv[]) {
cond = strtok(NULL, ":");
optional1 = strtok(NULL, "\n");
if ((variables == NULL) || (strstr(variables, "^USER^") == NULL && strstr(variables, "^PASS^") == NULL)) {
fprintf(stderr, "[ERROR] the variables argument needs at least the strings ^USER^ or ^PASS^: %s\n", variables);
fprintf(stderr, "[ERROR] the variables argument needs at least the strings ^USER^ or ^PASS^: %s\n", STR_NULL(variables));
exit(-1);
}
if ((url == NULL) || (cond == NULL)) {