Assign a value to serve when using modern protocol
authorWouter Verhelst <w@uter.be>
Sat, 12 Feb 2011 18:50:29 +0000 (19:50 +0100)
committerWouter Verhelst <w@uter.be>
Sat, 12 Feb 2011 18:54:11 +0000 (19:54 +0100)
commit9ea4e742ce6f1b7793d1edfca70427a8660aeffa
treed9c11676025f5b90634b24732ef21729ec49014f
parent3390ec98b5745fbd42913b76977fe7d41ccce8c8
Assign a value to serve when using modern protocol

We dereference this pointer later on, so need to make sure it's
actually valid.

As an added precaution, initialize it to NULL, so that we catch any
further incorrect dereferences, too.
nbd-server.c