Metaswitch/calico — pull request #58 by plwhite (2014-12-08 11:41:48+00:00)
Title: Improve resync handling code, resolving issue #56

- Force resync count to be an integer
- Tidy up a very confusing set of if tests (correct, but unreadable)