spaces vs tabs are important in rules, debian is more picky than ubuntu
fix placement of an if to prevent accessing unmapped mem_ptr
Merge branch 'master' of github.com:ZoneMinder/ZoneMinder