remove an unneded .c_str() in OpenNetworkConnection()
Merge pull request #4567

f469f79 remove an unneded .c_str() in OpenNetworkConnection() (Philip Kaufmann)