From e573a2a32c1ff01bc09215efae6927f4795b4ef6 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 21 Aug 2002 19:39:38 +0000 Subject: [PATCH] global_myname is a pstring, not an fstring (This used to be commit 2df34c9bfc76ee832e5005a2ad0ff0b6abb98034) --- source3/utils/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/utils/net.c b/source3/utils/net.c index 416a599be32..a3aa7adcae5 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -469,7 +469,7 @@ static struct functable net_func[] = { if (!*global_myname) { char *p2; - fstrcpy(global_myname, myhostname()); + pstrcpy(global_myname, myhostname()); p2 = strchr_m(global_myname, '.'); if (p2) *p2 = 0; -- 2.34.1