[BUG] str2net() must not change the const char *
authorWilly Tarreau <w@1wt.eu>
Sun, 17 Jun 2007 09:42:08 +0000 (11:42 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 17 Jun 2007 09:42:08 +0000 (11:42 +0200)
commit8aeae4af23af3d0ef27312713f7e9a69fb2880bd
tree471293523f94f5d4d6fad72472fbfcf8035c4dd1
parentc8d7c96b265de864080c3eeee883d06d6a3de294
[BUG] str2net() must not change the const char *

str2net needs to put \0 in a const char *. Use strdup() for that.
src/standard.c