pex: don't leave invalid connections with the server read/write methods?

This commit is contained in:
K. Lange 2021-06-18 21:41:44 +09:00
parent d5358b7e97
commit e6721fc10f

View File

@ -388,8 +388,6 @@ static fs_node_t * file_from_pex(pex_ex_t * pex) {
fnode->mask = 0666; fnode->mask = 0666;
fnode->flags = FS_CHARDEVICE; fnode->flags = FS_CHARDEVICE;
fnode->open = open_pex; fnode->open = open_pex;
fnode->read = read_server;
fnode->write = write_server;
return fnode; return fnode;
} }