1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-27 02:56:18 -04:00

[gopher] Skip '/'. Refs #33

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

View File

@ -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