diff options
Diffstat (limited to 'server/nfts.c')
-rw-r--r-- | server/nfts.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/server/nfts.c b/server/nfts.c index afc3994..491b668 100644 --- a/server/nfts.c +++ b/server/nfts.c @@ -518,11 +518,13 @@ int main(int argc, char *argv[]) if (argc<2) { - fprintf(stderr, "%s: usage %s port\n", name, name); - exit(EXIT_FAILURE); + port = 16514; + } + else + { + port = atoi(argv[1]); } - port = atoi(argv[1]); sock = Socket(port); quit = 0; |