Feature #195 ยป ignore_empty_input.patch
client.c | ||
---|---|---|
break;
|
||
}
|
||
/* No input received */
|
||
if (len == (sizeof(*push) + sizeof(*data))) {
|
||
return 0;
|
||
}
|
||
push->header.type = ALFRED_PUSH_DATA;
|
||
push->header.version = ALFRED_VERSION;
|
||
push->header.length = htons(len - sizeof(push->header));
|