diff --git a/appl/ftp/ftp/extern.h b/appl/ftp/ftp/extern.h index d0ae40fa5..dc85ee8d4 100644 --- a/appl/ftp/ftp/extern.h +++ b/appl/ftp/ftp/extern.h @@ -167,3 +167,5 @@ extern off_t restart_point; extern int NCMDS; extern char username[32]; +extern char myhostname[]; +extern char *mydomain; diff --git a/appl/ftp/ftp/globals.c b/appl/ftp/ftp/globals.c index d3aca7e3c..32af193bb 100644 --- a/appl/ftp/ftp/globals.c +++ b/appl/ftp/ftp/globals.c @@ -69,3 +69,7 @@ struct macel macros[16]; char macbuf[4096]; char username[32]; + +/* these are set in ruserpass */ +char myhostname[MaxHostNameLen]; +char *mydomain;