From 9a1295b4a5d81227c47be2e17ad3468436a43bc7 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 25 Sep 2017 22:12:49 +0200 Subject: [PATCH] push whitespace eating down the stack a bit. --- src/kernel/order.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/order.c b/src/kernel/order.c index 6403889e3..f81d65b70 100644 --- a/src/kernel/order.c +++ b/src/kernel/order.c @@ -321,6 +321,7 @@ static order *create_order_i(keyword_t kwd, const char *sptr, bool persistent, ord->_noerror = noerror; ord->next = NULL; + while (isspace(*(unsigned char *)sptr)) ++sptr; ord->data = create_data(kwd, sptr, lindex); return ord; @@ -410,7 +411,6 @@ order *parse_order(const char *s, const struct locale * lang) } } if (kwd != NOKEYWORD) { - while (isspace(*(unsigned char *)sptr)) ++sptr; return create_order_i(kwd, sptr, persistent, noerror, lang); } }