edit: Fix history processing on running old command
authorJouni Malinen <j@w1.fi>
Sun, 5 May 2013 10:09:55 +0000 (13:09 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 5 May 2013 10:09:55 +0000 (13:09 +0300)
commitad0685e901e0a4610128ce173fe737c4390af15c
tree436d577056025c51242927e9ce082e2ebc7120f0
parent9be371437ed1f2122ad8efd2b1da6761ced33476
edit: Fix history processing on running old command

currbuf_valid needs to be cleared when an old command from history is
processed to avoid leaving a bogus entry that makes history_prev() skip
the last entry in history.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/utils/edit.c