Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove internal_parse_url() from the library exports.
The only thing that main.c was really doing differently to the public openconnect_parse_url() function was allowing 'urlpath' to be superseded by the --usergroup command line argument. Which we can handle simply by storing that in a separate variable and applying it afterwards. The other thing it did differently was check that the scheme is https. But openconnect_parse_url() arguably should have been doing that anyway. Fix potential memory leak of old strings in openconnect_parse_url() while we're at it. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
- Loading branch information
David Woodhouse
authored and
David Woodhouse
committed
May 13, 2012
1 parent
176100f
commit 23267ee
Showing
3 changed files
with
39 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters