A bug in "detect.c" was fixed.