Browse Source

Bugfix in _ttail_search_closest_stdin()

Yann Weber 7 years ago
parent
commit
a05a5dda01
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/ttail_search_std.c

+ 2
- 0
src/ttail_search_std.c View File

@@ -168,7 +168,9 @@ int _ttail_search_closest_stdin(ttail_t* t)
168 168
 					fprintf(stderr, "\n");
169 169
 				}
170 170
 				ttail_strict_msg();
171
+				return -1;
171 172
 			}
173
+			rd_sz = ttail_std_getline(t);
172 174
 			continue;
173 175
 		}
174 176
 		ret = ttail_tm_cmp(&tm, &(t->date_min));

Loading…
Cancel
Save