[sr-dev] git:master:f6a1f96a: xcap_server: use new search function to avoid zero-ending swapping