Fix wpa_cli with libreadline and WPA_TRACE to use consistent alloc
authorJouni Malinen <jouni.malinen@atheros.com>
Mon, 28 Dec 2009 10:13:52 +0000 (12:13 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 28 Dec 2009 10:13:52 +0000 (12:13 +0200)
commitd566f4152fb45b63097a6b9cd452ca8ad8ad43ac
tree5045fdbe166edc314d3792d239e670a6fca5df03
parente5fc8c8ce52984aa259d87b16dc65312a889d707
Fix wpa_cli with libreadline and WPA_TRACE to use consistent alloc

Need to use strdup(), not os_strdup() here since the readline/fgets
result needs to use same style for memory allocation to avoid WPA_TRACE
errors.
wpa_supplicant/wpa_cli.c