1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00

[gopher] Skip '/'. Refs

This commit is contained in:
Witold Filipczyk 2019-05-05 16:18:29 +02:00
parent 3d96b0d7d7
commit 5106b31f6c

@ -285,7 +285,8 @@ init_gopher_connection_info(struct connection *conn)
/* Pick up gopher_entity */
if (selectorlen > 1 && selector[1] == '/') {
entity = *selector++;
selectorlen--;
++selector;
selectorlen -= 2;
}
/* This is probably a hack. It serves as a work around when no entity is