Implement proper branches
authorWouter Verhelst <w@uter.be>
Thu, 9 Jun 2011 13:56:54 +0000 (15:56 +0200)
committerWouter Verhelst <w@uter.be>
Thu, 9 Jun 2011 13:56:54 +0000 (15:56 +0200)
commit459fa5b60f768378ad35af815f7e6c955a340518
treec4244f8c9f31a9294f2d0da645716558b96a3219
parent15d7c4682254b0dd2522a0685684ac032bb77553
Implement proper branches

Trying to implement differing negotiation based on parameters that just
happen to be there is a bad strategy, as this bug demonstrates.

Instead, add a parameter to the negotiate() function that is a bitmask
telling us which part of the negotiation we would like to see: modern vs
oldstyle, initial phase versus 'the rest'.

This doesn't actually survive 'make check' yet, because of a different
bit of crack that's still in there. Different bug, different commit.
nbd-server.c