Commit cf0f786d authored by Sebastian Ramacher's avatar Sebastian Ramacher

Check separator

CID 276477
parent 8cd8c879
......@@ -218,7 +218,7 @@ girara_isc_string_manipulation(girara_session_t* session, girara_argument_t* arg
}
/* find the beginning of the word */
while ((i == (pos - 1)) || ((i > 0) && !strchr(separator, input[i]))) {
while ((i == (pos - 1)) || ((i > 0) && seperator != NULL && !strchr(separator, input[i]))) {
i--;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment