diff options
Diffstat (limited to 'plpftp/main.cc')
-rw-r--r-- | plpftp/main.cc | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/plpftp/main.cc b/plpftp/main.cc index a814fb8..711cdbb 100644 --- a/plpftp/main.cc +++ b/plpftp/main.cc @@ -29,15 +29,16 @@ #include <string.h> #include <stdlib.h> #include <stdio.h> -#include <intl.h> -#include "ppsocket.h" -#include "rfsv.h" -#include "rfsvfactory.h" -#include "rpcs.h" -#include "rpcsfactory.h" +#include <plpintl.h> +#include <ppsocket.h> +#include <rfsv.h> +#include <rfsvfactory.h> +#include <rpcs.h> +#include <rpcsfactory.h> +#include <bufferstore.h> + #include "ftp.h" -#include "bufferstore.h" void usage() @@ -71,7 +72,7 @@ main(int argc, char **argv) int status = 0; int sockNum = DPORT; - bind_textdomain_codeset(PACKAGE, "latin1"); + setlocale (LC_ALL, ""); textdomain(PACKAGE); struct servent *se = getservbyname("psion", "tcp"); |