Improve syslog parsing; Implement basic main loop.

This commit is contained in:
Marko Zivanovic
2015-09-02 17:01:01 +02:00
parent 13d5266c37
commit a7ee585a9e
11 changed files with 107 additions and 30 deletions
+1 -3
View File
@@ -32,9 +32,7 @@ const std::string Facility::readFromStream(std::istream& src) {
if (c == '.') {
break;
} else {
if (c != ' ' && c != '\t') {
ret.push_back(c);
}
ret.push_back(c);
}
}
return ret;