Fix another error-reporting bug, in which sk_newlistener would fail to