Correct port-watcher.c code.