This commit is contained in:
Joshua Warner 2013-08-30 11:32:17 -06:00
parent 3d361619a3
commit 4572c02bf0

View File

@ -229,7 +229,7 @@ void appendN(char** dest, char ch, size_t length) {
} }
} }
bool needsEscape(const char* src; size_t length) { bool needsEscape(const char* src, size_t length) {
const char* end = src + length; const char* end = src + length;
for(const char* ptr = src; ptr < end; ptr++) { for(const char* ptr = src; ptr < end; ptr++) {
switch(*ptr) { switch(*ptr) {