Allow empty info lines again. - geomyidae - a small C-based gopherd (mirror)
(HTM) git clone git://git.codemadness.org/geomyidae
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 5b2a4d186c668de83728638abfd9d59e47d2f58e
(DIR) parent 204c8cedb99683d264e2612a4e126142a20e3042
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Wed, 27 Jul 2022 00:17:28 +0200
Allow empty info lines again.
Diffstat:
M ind.c | 3 ---
1 file changed, 0 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/ind.c b/ind.c
@@ -255,9 +255,6 @@ getadv(char *str)
char *b, *e, *o, *bo;
Elems *ret;
- if (strlen(str) == 0)
- return NULL;
-
ret = xcalloc(1, sizeof(Elems));
if (strchr(str, '\t')) {