1
0
mirror of https://github.com/haiwen/ccnet-server.git synced 2025-09-16 14:59:56 +00:00

Delete the PORT option under [Client].

This commit is contained in:
ly1217
2019-09-03 03:25:59 -07:00
parent 79e37bcfe0
commit 96b511ebb3
3 changed files with 2 additions and 47 deletions

View File

@@ -241,17 +241,6 @@ make_configure_file (const char *config_file)
}
fprintf (fp, "\n");
fprintf (fp, "[Client]\n");
/* Use differnet ports for ccnet-daemon and ccnet-server */
if (port_str != NULL) {
/* ccnet-server */
fprintf (fp, "PORT = 13418\n");
} else {
/* ccnet-daemon */
fprintf (fp, "PORT = 13419\n");
}
fclose (fp);
fprintf (stdout, "done\n");