Browse Source

Bugfix in init re prefix

Yann Weber 7 years ago
parent
commit
142b959c2e
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/ttail.c

+ 1
- 0
src/ttail.c View File

@@ -221,6 +221,7 @@ int ttail_set_prefix(ttail_t* res, const char* regex)
221 221
 		return 0;
222 222
 	}
223 223
 	/*compilation error */
224
+	res->flag ^= TTAIL_FLAG_PREFIX;
224 225
 	re_errbuff_sz = regerror(ret,
225 226
 		&res->date_prefix, NULL, 0);
226 227
 	re_errbuff = malloc(

Loading…
Cancel
Save