retreat lretreat: Fix crash when getstarg() fails
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 9 Jan 2015 15:12:29 +0000 (16:12 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 2 Mar 2015 07:20:48 +0000 (08:20 +0100)
commitb72f727b9bef3422a45c36998e77c3dedb95e70c
tree02d1f41d59500d593811dd4fc2e5b6157aa6940b
parentbeedf8dced4340c784354a3500d2f15185c6431e
retreat lretreat: Fix crash when getstarg() fails

Broken in commit 40ec33b.  Mitigating factor: can only happen when the
player gives an empty argument, e.g. retreat 0 "".

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/commands/retr.c