chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ceefdb
)
manual nmra does not coredump right away but still does not work
author
ian
<ian>
Sun, 11 May 2008 22:40:38 +0000
(22:40 +0000)
committer
ian
<ian>
Sun, 11 May 2008 22:40:38 +0000
(22:40 +0000)
hostside/commands.c
patch
|
blob
|
history
diff --git
a/hostside/commands.c
b/hostside/commands.c
index f11c47f38ea2a71879e8daeea6358fef57c92fbe..7f1ef8dc524758b4af9fd4978997dffa6e152e57 100644
(file)
--- 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);