"git@gitlab.synchro.net:main/sbbs.git" did not exist on "7c0dbbb41377498f99e7b6547315fe6e612175d8"
rswindell
authored
So replace some strstr() calls with either (new local function) strStartWith_i() or strcasestr(), depending. strStartWith_i() return length of the matched word, so no need to sprinkle about magic numeric constants everywhere. The extra calls to strlen() are worth the code clarity / reliability, methinks. TODO: find out if there's a way to calculate the length of string-constants at compile-time (?).