diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/appl/bsd/ChangeLog | 5 | ||||
| -rw-r--r-- | src/appl/bsd/krcp.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index 3605fdc861..f3288005eb 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,8 @@ +Thu Apr 27 01:09:19 1995 Ezra Peisach <epeisach@kangaroo.mit.edu> + + * krcp.c: (main): Missing htons on port number when specified on + command line. + Wed Apr 26 21:09:34 1995 Chris Provenzano (proven@mit.edu) * kcmd.c (kcmd()) : Don't use hp->h_name use host_save instead. diff --git a/src/appl/bsd/krcp.c b/src/appl/bsd/krcp.c index 25f36dce13..eb139acc97 100644 --- a/src/appl/bsd/krcp.c +++ b/src/appl/bsd/krcp.c @@ -187,7 +187,7 @@ main(argc, argv) argc--, argv++; if (argc == 0) usage(); - port = atoi(*argv); + port = htons(atoi(*argv)); goto next_arg; case 'N': |
