summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2002-08-21 19:39:38 +0000
committerVolker Lendecke <vlendec@samba.org>2002-08-21 19:39:38 +0000
commite573a2a32c1ff01bc09215efae6927f4795b4ef6 (patch)
treef105003883aacf81e1e8c7b9f2d06210f3b46ca2 /source3/utils
parent72f1a676d8e4af5e1f3e4bfdf5ee0d2832486a2f (diff)
downloadsamba-e573a2a32c1ff01bc09215efae6927f4795b4ef6.tar.gz
samba-e573a2a32c1ff01bc09215efae6927f4795b4ef6.tar.bz2
samba-e573a2a32c1ff01bc09215efae6927f4795b4ef6.zip
global_myname is a pstring, not an fstring
(This used to be commit 2df34c9bfc76ee832e5005a2ad0ff0b6abb98034)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index 416a599be3..a3aa7adcae 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;