home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Server: Make config file set number of objects' start appearances.
[plomrogue]
/
src
/
server
/
io.c
diff --git
a/src/server/io.c
b/src/server/io.c
index ba5abd5f2d18b2c95000fe7381b244aae6df455f..8e7f9e9a2716fd632c55df8e6ec0e92083140b36 100644
(file)
--- a/
src/server/io.c
+++ b/
src/server/io.c
@@
-12,7
+12,6
@@
#include <sys/types.h> /* time_t */
#include <time.h> /* time() */
#include <unistd.h> /* usleep() */
#include <sys/types.h> /* time_t */
#include <time.h> /* time() */
#include <unistd.h> /* usleep() */
-#include "../common/err_try_fgets.h" /* err_line() */
#include "../common/readwrite.h" /* try_fopen(), try_fclose_unlink_rename(),
* try_fwrite(), try_fputc(), try_fgetc()
*/
#include "../common/readwrite.h" /* try_fopen(), try_fclose_unlink_rename(),
* try_fwrite(), try_fputc(), try_fgetc()
*/
@@
-30,8
+29,8
@@
*/
static char * get_message_from_queue();
*/
static char * get_message_from_queue();
-/*
Read input file for input into world.queue. new queue input. Wait a few
- *
seconds until giving up. Translate '\n' chars in input file into '\0' chars
.
+/*
Poll input file for world.queue input. Wait a few seconds until giving up;
+ *
poll only every 0.03 seconds.. Translate '\n' chars in input file into '\0'
.
*/
static void read_file_into_queue();
*/
static void read_file_into_queue();