mount-points: fix matching of paths where there's also an entry with a common prefix
authorAndrew Bott <andrew.bott@blackmoth.com>
Fri, 16 Sep 2016 20:41:19 +0000 (20:41 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 25 Jan 2018 12:12:57 +0000 (12:12 +0000)
commitc3e58dfdbe61ddc19441a8251caa0cbc5a669a2e
treec38da0b3dfd5d61da0dbb9d6ef374715fc18a787
parentb1f515178a363df0322d7adbd5754e1f6e2083c9
mount-points: fix matching of paths where there's also an entry with a common prefix

e.g. with the following mount points

/raw
/raw/snapshot
/raw/video

_match() would not match /raw/video and /raw/snapshot correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=771555
gst/rtsp-server/rtsp-mount-points.c