X-Git-Url: http://git.shiar.net/netris.git/blobdiff_plain/67c063ab72ebe37d99e036c7a9d3fcecf1e168aa..314fb8c12b376d5e9bc62ec8b5db9458618a162b:/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) {