X-Git-Url: http://git.shiar.net/netris.git/blobdiff_plain/a48189e5c6981f787eb634e94c940ca5b2e517e2..eb820d60637feceb84f559675344cf24a2c2f1cd:/server.c diff --git a/server.c b/server.c index fe7eefc..947c8e1 100644 --- a/server.c +++ b/server.c @@ -455,22 +455,6 @@ void SUsage(void) ); } -void WriteConf(void) -{ - FILE *file_out; - - file_out = fopen(CONFIG_FILE, "w"); - if (file_out == NULL) { - perror("Error writing config file"); - exit(1); - } - - fprintf(file_out, "### NETRIS %s Config file ###\n\n", version_string); - - fclose(file_out); - fprintf(stderr, "Wrote new game configuration to %s\n", CONFIG_FILE); -} - void HandleOption(char tag, char *value) { switch (tag) {