Check accept function NULL pointer.