|
@@ -259,6 +259,11 @@ int vcc_new_msg(int fd, struct vcc_request *req) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
switch (htonl(req->reqtype)) {
|
|
switch (htonl(req->reqtype)) {
|
|
|
|
|
+ case REQ_MSG_NEW:
|
|
|
|
|
+ /* POLLOUT will be set, just because they sent us a message */
|
|
|
|
|
+
|
|
|
|
|
+ return 0;
|
|
|
|
|
+
|
|
|
case REQ_MSG_SEND:
|
|
case REQ_MSG_SEND:
|
|
|
if (((unsigned char *) msg)[0] == 0xffu || !*msg)
|
|
if (((unsigned char *) msg)[0] == 0xffu || !*msg)
|
|
|
return 0;
|
|
return 0;
|