.c_str() is only guaranteed to return the data up to the first NUL character. This could break Socks5 negotiation on some platforms.
Also remove a few redundant c_str() in logging and formatting.
.c_str() is only guaranteed to return the data up to the first NUL character. This could break Socks5 negotiation on some platforms.
Also remove a few redundant c_str() in logging and formatting.
`.c_str()` is only guaranteed to return the data up to the first NUL
character.
ut ACK
ut ACK
ut ACT
Always good to remove .c_str() where not needed.
Includes `core: remove unneeded c_str() / Qt: replace c_str() with Qt code`
by P. Kaufmann.
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/p4868_2c2cc5dac1102c1eb86c7dd825a893ab388abba1/ for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.