mausezahn: Increase buffer size for listen address string
commit9ef1dd15551f4a4d126a55d38fccbe568920ad8f
authorTobias Klauser <tklauser@distanz.ch>
Fri, 25 Jul 2014 06:27:30 +0000 (25 08:27 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Fri, 25 Jul 2014 06:27:30 +0000 (25 08:27 +0200)
treebe6594cb0d2074018d3ce355fb4dc2739cba1ca1
parent2de653340c789c2ef4b442b146c3f3e53e306c31
mausezahn: Increase buffer size for listen address string

Commit 2de653340c ("mausezahn: bind to IP address in interactive mode")
introduced mz_listen_addr of size 15 to hold the IP address to bind to.
Since an address can be maximum 15 characters long, this doesn't account
for the terminating '\0'. Fix this by increasing the buffer size to 16.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
staging/mausezahn.c