netbase: Use .data() instead of .c_str() on binary string
authorWladimir J. van der Laan <laanwj@gmail.com>
Mon, 8 Sep 2014 10:20:50 +0000 (12:20 +0200)
committersvost <ya.nowa@yandex.ru>
Sun, 21 Feb 2016 14:47:25 +0000 (17:47 +0300)
commit5ae858b9cb5aa7815773fb067e5e1a7ffa07119e
tree712cc25e27575728afa0da519279f5825ad763e4
parentd6d558a15b40e14a3f9bf23308adf7a630a57485
netbase: Use .data() instead of .c_str() on binary string

`.c_str()` is only guaranteed to return the data up to the first NUL
character.
src/netbase.cpp