diff options
author | Eric Wong <normalperson@yhbt.net> | 2007-09-01 12:20:49 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2007-09-01 12:20:49 +0000 |
commit | c2e742106f54ab6b82d9ca52d69f020b2fc9a5a7 (patch) | |
tree | 3c32a69d419a8968fe421fe2021314ecd3f3e09a /scripts/makerpm.sh | |
parent | c5c8548ba25e7cd5ad88ea3062db1a88d1faa0a2 (diff) | |
download | mpd-c2e742106f54ab6b82d9ca52d69f020b2fc9a5a7.tar.gz mpd-c2e742106f54ab6b82d9ca52d69f020b2fc9a5a7.tar.xz mpd-c2e742106f54ab6b82d9ca52d69f020b2fc9a5a7.zip |
interface: fix IPV6 hostname buffer deallocation from automatics
The host buffer that hostname pointed to is no longer on the
stack by the time the SECURE() message is printed. So make it
static and thus accessible to all. We won't be calling this
stuff in the middle of a child process/thread/task, so there's
no
Also, hostname is a constant string we shouldn't modify, so mark
it as const char *.
git-svn-id: https://svn.musicpd.org/mpd/trunk@6842 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'scripts/makerpm.sh')
0 files changed, 0 insertions, 0 deletions