Last change
on this file since 26ffad7 was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100644
|
File size:
459 bytes
|
Rev | Line | |
---|
[c5c522c] | 1 | --- netkit-ftp-0.17/ftp/main.c.locale 2004-12-15 16:52:14.504193752 +0000 |
---|
| 2 | +++ netkit-ftp-0.17/ftp/main.c 2004-12-15 16:52:51.719133655 +0000 |
---|
| 3 | @@ -51,6 +51,7 @@ |
---|
| 4 | |
---|
| 5 | /* #include <arpa/ftp.h> <--- unused? */ |
---|
| 6 | |
---|
| 7 | +#include <locale.h> |
---|
| 8 | #include <signal.h> |
---|
| 9 | #include <unistd.h> |
---|
| 10 | #include <string.h> |
---|
| 11 | @@ -109,6 +110,7 @@ |
---|
| 12 | |
---|
| 13 | tick = 0; |
---|
| 14 | |
---|
| 15 | + setlocale (LC_ALL, ""); |
---|
| 16 | sp = getservbyname("ftp", "tcp"); |
---|
| 17 | if (sp == 0) { |
---|
| 18 | fprintf(stderr, "ftp: ftp/tcp: unknown service\n"); |
---|
Note: See
TracBrowser
for help on using the repository browser.