Fix corruption of input string to openconnect_parse_url()
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 13 May 2012 03:49:39 +0000 (20:49 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 13 May 2012 03:49:39 +0000 (20:49 -0700)
commitbe67eb928e21ac5400d3cc1f02f1e21051b5d028
treed64def51f9601bbf0f8dbaf464c2bde54d1da416
parent3042cdb89633cedf923744e85d6980f94e88f870
Fix corruption of input string to openconnect_parse_url()

Well, kind of. This is the approach which was partially implemented in
commit 382d05dd1929788be151e96d80e7b8289b8f7c08 but missed restoring the
colon before the port number. It's still fairly dodgy that we're scribbling
on the input string at all, even if we do put it back again afterwards.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
http.c