summaryrefslogtreecommitdiff
path: root/shed.c
diff options
context:
space:
mode:
Diffstat (limited to 'shed.c')
-rw-r--r--shed.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shed.c b/shed.c
index 2cf1b54..ea3b3ee 100644
--- a/shed.c
+++ b/shed.c
@@ -29,6 +29,7 @@ struct shed *shed(struct shed *e)
e->head = e->cur;
e->tail = e->cur;
} else {
+ /* TODO: skip if the last input was blank */
e->tail->next = calloc(1, sizeof(*e->cur));
if (e->tail->next == NULL) {
/* FIXME */