gui: Simplify handle_command() and avoid a buffer overflow.
authorAndre Noll <maan@systemlinux.org>
Sun, 4 Apr 2010 22:08:34 +0000 (00:08 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 4 Apr 2010 22:08:34 +0000 (00:08 +0200)
commit0e4306dd5162a2850e623bf3082b3f7291aaad45
tree21ae368eb80b3eaaf0a0e0d0658fff5cd0f0875a
parent6d1b1feadb2e7221874b7be205c51e0fe56d0519
gui: Simplify handle_command() and avoid a buffer overflow.

It's not save to use strcpy() here.
gui.c