Browse Source

Don't send a \0 byte after the banner

master
Gavan Fantom 17 years ago
parent
commit
d39fce3ac6
  1. 2
      src/lsi/cmdsocket.c

2
src/lsi/cmdsocket.c

@ -117,7 +117,7 @@ int cmdsocket_accept(void) {
}
cmd_active = c;
write(cmd_active, CMDSOCKET_BANNER, sizeof(CMDSOCKET_BANNER));
write(cmd_active, CMDSOCKET_BANNER, sizeof(CMDSOCKET_BANNER)-1);
vm_register_signal_fd(cmd_active, VM_CMDREADQ);
vm_wakeup(VM_CMDREADQ);

Loading…
Cancel
Save