phroxy

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/phroxy.git
Log | Files | Refs | LICENSE

commit b8839df0fea0cf644b2be9a9d9620e525ba39bd3
parent 1ae65b7b2d472fd5236139bb8a6f1ed96ac55ef9
Author: Willy Goiffon <dev@z3bra.org>
Date:   Mon, 14 Sep 2020 16:13:57 +0200

Handle missing type properly

Diffstat:
Mphroxy.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/phroxy.c b/phroxy.c @@ -359,7 +359,7 @@ phroxy(char *url) port = "70"; item = strsep(&url, "/"); - if (!item) + if (!item || !item[0] ) item = "1"; path = strsep(&url, "\0");