From 28558456c4a06e44a11cbdce9778b9409f47a3a9 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Sun, 12 May 1996 22:04:06 +0000 Subject: [PATCH] Global hostname and domainname git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@526 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftp/extern.h | 2 ++ appl/ftp/ftp/globals.c | 4 ++++ 2 files changed, 6 insertions(+) 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;