snort: fix coverity warning