From: ian Date: Sun, 11 May 2008 22:40:38 +0000 (+0000) Subject: manual nmra does not coredump right away but still does not work X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=1ae47a04c495bc325c9c947b2f97d20461599289;p=trains.git manual nmra does not coredump right away but still does not work --- diff --git a/hostside/commands.c b/hostside/commands.c index f11c47f..7f1ef8d 100644 --- a/hostside/commands.c +++ b/hostside/commands.c @@ -126,6 +126,7 @@ static int cmd_nmra(ParseState *ps, const CmdInfo *ci) { lmrname= ps->lthisword-1; for (mrn= mrns.head; + mrn && !(mrn->lname == lmrname && !memcmp(mrn->name, mrname, lmrname)); mrn= mrn->next);