Sanitize empty-string proxy hostnames at the API entry point
authorFederico Mena Quintero <federico@novell.com>
Tue, 1 Jun 2010 19:15:26 +0000 (14:15 -0500)
committerFederico Mena Quintero <federico@novell.com>
Wed, 2 Jun 2010 22:44:54 +0000 (17:44 -0500)
commitd6d1a38a2deb7d33d80c10e115e9c31229104ba5
tree04696d3ad165998ff21c59fa9380039d0f89f696
parentf21219c65df4580dd6ede9dc7492abe1f945e464
Sanitize empty-string proxy hostnames at the API entry point

This way the rest of the code can assume that (proxy_host == NULL) means
that no proxy is set; it doesn't need to check for empty strings.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
camel/camel-session.c
camel/camel-tcp-stream.c