nbd-server: narrow the scope of a function-local variable
authorTuomas Räsänen <tuomasjjrasanen@tjjr.fi>
Sat, 1 Jun 2013 18:20:51 +0000 (21:20 +0300)
committerWouter Verhelst <w@uter.be>
Sat, 1 Jun 2013 19:18:14 +0000 (21:18 +0200)
commit53e1505a0d80247aaf66a4d3220b35f6ad6489f6
tree5cebac57c1164c578190ea5f5b8ef3c4ed742708
parentb348d7bdbbb1743483240ac3c2cd2d01d62d82ab
nbd-server: narrow the scope of a function-local variable

It's better to keep variables strictly inside their usage scope than in
more wider scope to avoid unintentional variable shadowing and leaking.

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