vfs: report zero-length read from server

This commit is contained in:
Christian Helmuth 2016-04-02 21:26:37 +02:00
parent 642ce6ca77
commit 43cf789371

View File

@ -170,10 +170,8 @@ class Vfs_server::Session_component :
}
}
if (res_length) {
packet.length(res_length);
packet.succeeded(true);
}
packet.length(res_length);
packet.succeeded(!!res_length);
}
void _process_packet()