summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b8f53c8)
raw | patch | inline | side by side (parent: b8f53c8)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 31 Dec 2014 13:54:37 +0000 (14:54 +0100) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 31 Dec 2014 13:54:37 +0000 (14:54 +0100) |
Many thanks to @NsLib for mentioning this !
src/types_list.c | patch | blob | history |
diff --git a/src/types_list.c b/src/types_list.c
index 49714176374a2979a24e5c161ac6b303d184708f..1b0507f4c2f12b6e32310074865c66020d11b019 100644 (file)
--- a/src/types_list.c
+++ b/src/types_list.c
continue;
while ((buf_len > 0) && ((buf[buf_len - 1] == '\n')
- || (buf[buf_len - 1] == '\n')))
+ || (buf[buf_len - 1] == '\r')))
buf[--buf_len] = '\0';
if (buf_len == 0)