nbd-server: fix dup_serve() to accept a const server pointer
authorTuomas Jorma Juhani Räsänen <tuomasjjrasanen@tjjr.fi>
Tue, 1 Jan 2013 19:21:21 +0000 (21:21 +0200)
committerWouter Verhelst <w@uter.be>
Wed, 2 Jan 2013 07:49:17 +0000 (08:49 +0100)
commit621c62354101f496911a1b17dcb657cc214fd80f
tree200785cda729f288aa5320fef481ad1d9d0bc6e8
parent2d21101173be87ee49f036d3c04023ae265fdb05
nbd-server: fix dup_serve() to accept a const server pointer

dup_serve() does not modify the source server (as it should be), so the
pointer should be declared const.

Signed-off-by: Tuomas Jorma Juhani Räsänen <tuomasjjrasanen@tjjr.fi>
nbd-server.c