diff --git a/backends/twitter/TwitterResponseParser.cpp b/backends/twitter/TwitterResponseParser.cpp index 0774b9518e820265c7ce0d02098cbeb0775c7420..a6d919a9c66932890fd8e9de38a9ea45f07b0a56 100644 --- a/backends/twitter/TwitterResponseParser.cpp +++ b/backends/twitter/TwitterResponseParser.cpp @@ -251,7 +251,7 @@ std::vector getIDs(std::string &xml) Error getErrorMessage(std::string &xml) { std::string error = ""; - std::string code = ""; + std::string code = "0"; Error resp; Swift::ParserElement::ref rootElement = Swift::StringTreeParser::parse(xml);