Make server source compileable

We're returning status, so we have to declare it outside the switch
statement.

Bug: 24938116
Test: unittests pass

Change-Id: Ic733f62852b562f9db1183881c3d4a42ceedf6ab
2 files changed