Re: [PATCH v2 4/6] connect: move error check to caller of parse_connect_url

2015-07-30 Thread Patrick Steinhardt
On Wed, Jul 29, 2015 at 04:32:13PM -0400, Eric Sunshine wrote: On Wed, Jul 29, 2015 at 11:51 AM, Patrick Steinhardt p...@pks.im wrote: parse_connect_url() checks if the path component of the URL is empty and if so causes the program to die. As the function is to be used at other call sites

[PATCH v2 4/6] connect: move error check to caller of parse_connect_url

2015-07-29 Thread Patrick Steinhardt
parse_connect_url() checks if the path component of the URL is empty and if so causes the program to die. As the function is to be used at other call sites which do not require this check, move up the error checking to the existing caller. Signed-off-by: Patrick Steinhardt p...@pks.im ---

Re: [PATCH v2 4/6] connect: move error check to caller of parse_connect_url

2015-07-29 Thread Eric Sunshine
On Wed, Jul 29, 2015 at 11:51 AM, Patrick Steinhardt p...@pks.im wrote: parse_connect_url() checks if the path component of the URL is empty and if so causes the program to die. As the function is to be used at other call sites which do not require this check, move up the error checking to the