- control16(c, 1, 3, 1); // result code (admin reasons - TBA make error, general error, add message
+ if (error)
+ {
+ char buf[4];
+ *(uint16_t *) buf = htons(result);
+ *(uint16_t *) (buf+2) = htons(error);
+ controlb(c, 1, buf, 4, 1);
+ }
+ else
+ control16(c, 1, result, 1);
+