In log headers, only escape information when necessary.

This commit is contained in:
Robin Sommer 2011-12-19 08:44:41 -08:00
parent a9f0b10e2e
commit c1e656d89e
4 changed files with 24 additions and 14 deletions

View file

@ -89,7 +89,7 @@ void delete_each(T* t)
delete *it;
}
std::string get_escaped_string(const std::string& str);
std::string get_escaped_string(const std::string& str, bool escape_all);
extern char* copy_string(const char* s);
extern int streq(const char* s1, const char* s2);