Fixing sockets and response.

This commit is contained in:
Ben Vanik
2013-12-21 11:52:48 -08:00
parent d98d5c855a
commit da340891c4
3 changed files with 27 additions and 20 deletions

View File

@@ -35,6 +35,10 @@ XModule::XModule(KernelState* kernel_state, const char* path) :
if (slash) {
XEIGNORE(xestrcpya(name_, XECOUNT(name_), slash + 1));
}
char* dot = xestrrchra(name_, '.');
if (dot) {
*dot = 0;
}
}
XModule::~XModule() {