diff options
Diffstat (limited to 'src/util/test_common_logging_runtime_loglevels.c')
-rw-r--r-- | src/util/test_common_logging_runtime_loglevels.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/util/test_common_logging_runtime_loglevels.c b/src/util/test_common_logging_runtime_loglevels.c index f46776c8f..07e2327c9 100644 --- a/src/util/test_common_logging_runtime_loglevels.c +++ b/src/util/test_common_logging_runtime_loglevels.c | |||
@@ -152,22 +152,12 @@ read_output_line(int phase_from1, int phase_to1, int phase_from2, | |||
152 | 152 | ||
153 | case 2: /* read the delay, finished by '\n' */ | 153 | case 2: /* read the delay, finished by '\n' */ |
154 | t[j++] = r[i]; | 154 | t[j++] = r[i]; |
155 | #if WINDOWS | ||
156 | if (r[i] == '\r' && r[i + 1] == '\n') | ||
157 | { | ||
158 | i += 1; | ||
159 | t[j - 1] = '\0'; | ||
160 | *delay = strtol(t, NULL, 10); | ||
161 | stop = 1; | ||
162 | } | ||
163 | #else | ||
164 | if (r[i] == '\n') | 155 | if (r[i] == '\n') |
165 | { | 156 | { |
166 | t[j - 1] = '\0'; | 157 | t[j - 1] = '\0'; |
167 | *delay = strtol(t, NULL, 10); | 158 | *delay = strtol(t, NULL, 10); |
168 | stop = 1; | 159 | stop = 1; |
169 | } | 160 | } |
170 | #endif | ||
171 | break; | 161 | break; |
172 | } | 162 | } |
173 | } | 163 | } |