home · contact · privacy
Server/py: Remove superfluous line.
[plomrogue] / src / server / io.h
index 5b67f6b21fb8b430f6e8dfbd87746c023f32391f..7c9148dba55a415c2e61c296b7ae9ef62dff4e51 100644 (file)
  * if queue is empty and world.do_update is set, update world state file (and
  * unset world.do_update) and write a single dot line to server out file, then
  * read server in file for the next load of bytes to put onto the input queue.
- *
- * Reading the server in file may put many \0-terminated strings on the queue at
- * once. Successive calls of io_round() will make these available one by one.
- * Each such call cuts off bytes from the beginning of world.queue, up to and
- * including the last \0 byte that is followed by a non-\0 byte or ends the
- * queue. If the queue starts with a \0 byte, it and its \0 followers are cut
- * before returning anything after them. Reading from the input file stops only
- * at its end or when one or more byte were read and the next read returns 0
- * bytes. If the re-filled queue doesn't end in \0, a \0 byte is appended to it.
+ * (Queueing ensures only complete messages are interpreted.)
  */
 extern char * io_round();