upnp: Correct top directory url formatting
commitf5f5a0d0ddb6c96ab08a6b3ca1115dcbd2ae2c77
authorAlaric Senat <dev.asenat@posteo.net>
Wed, 18 Nov 2020 18:32:27 +0000 (18 19:32 +0100)
committerThomas Guillem <thomas@gllm.fr>
Wed, 25 Nov 2020 09:54:46 +0000 (25 10:54 +0100)
treea9b8af700ccc1655b033656a9cbcf46fa65cf645
parentc9890de86fd843aea0fe1e07add2ce523ec18ef8
upnp: Correct top directory url formatting

As pointed out in #25055 the choice of url option delimiter is probably
meant to be that way. std::string.find() returns std::string::npos (aka
-1) in case of no match.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
modules/services_discovery/upnp.cpp