Stop using strdup for tile-join matching

This commit is contained in:
Eric Fischer
2016-05-03 11:14:09 -07:00
parent 271ec3d154
commit d712edcdc9
3 changed files with 18 additions and 28 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ static void quote(std::string *buf, const char *s) {
buf->append(tmp, strlen(tmp));
}
static void aprintf(std::string *buf, const char *format, ...) {
void aprintf(std::string *buf, const char *format, ...) {
va_list ap;
char *tmp;