_negotiate just uses state, simplifies things a bit; not (int) hack in switch to get gcc to shut up
1 file changed