diff capnproto/VampnProto.h @ 74:d45cfa25aaad

Ensure code is at least set, but just to 0 at the mo
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 10 Oct 2016 15:31:44 +0100
parents 6c908ee3ad3b
children
line wrap: on
line diff
--- a/capnproto/VampnProto.h	Mon Oct 10 15:03:47 2016 +0100
+++ b/capnproto/VampnProto.h	Mon Oct 10 15:31:44 2016 +0100
@@ -830,8 +830,7 @@
             type = "invalid";
         }
 
-        //!!! + code
-        
+        e.setCode(0);
         e.setMessage(std::string("error in ") + type + " request: " + errorText);
     }