Fixed inability to parse escaped formats.
Since get_delim doesn't support multiple delimeters after where
this code was introduced, it should be safe to remove it. Users should
be able to escape with double backslashes. e.g.,
\"GET /webmail/lists/ajax?&s_fnum=1&s_mread=&mdl=lists HTTP/2.0\"
=> \\"%r\\"
Fixes
@@ -1688,9 +1688,6 @@ parse_format (GLogItem * logitem, char *str, char *lfmt) {
/* iterate over the log format */
for (p = lfmt; *p; p++) {
- /* advance to the first unescaped delim */
- if (*p == '\\')
- continue;
if (*p == '%') {
perc++;
continue;
