refs.c: spell NULL pointer as NULL