always compare memcmp against 0, for clarity.