Re:Show HN: My embeddable C/C++ webserver
by tptacek on Friday May 06, 2011 @03:41PM
(#2522190)
Doesn't this also read right off the end of the string?
[ Parent
| on HN ]
No, it will hit the NULL terminator and short circuit.
No, because if i[1] is 0 (the null terminator), i[1] == '.' will fail.