From 8dc1a4f30066f7cc25ab6b775b24f32ba275d78e Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 27 Aug 2003 18:00:09 +0000 Subject: Ensure we use correct length nstrings for workgroup and browser names. Jeremy. (This used to be commit be534c8adf6c3cb8921ce49dbb79991c632d501e) --- source3/include/nameserv.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/include') diff --git a/source3/include/nameserv.h b/source3/include/nameserv.h index 10e1295fb6..1e867d620b 100644 --- a/source3/include/nameserv.h +++ b/source3/include/nameserv.h @@ -226,8 +226,8 @@ struct name_record { /* Browser cache for synchronising browse lists. */ struct browse_cache_record { ubi_dlNode node[1]; - pstring lmb_name; - pstring work_group; + nstring lmb_name; + nstring work_group; struct in_addr ip; time_t sync_time; time_t death_time; /* The time the record must be removed. */ @@ -265,9 +265,9 @@ struct work_record { enum logon_state log_state; /* Work group info. */ - fstring work_group; + nstring work_group; int token; /* Used when communicating with backup browsers. */ - fstring local_master_browser_name; /* Current local master browser. */ + nstring local_master_browser_name; /* Current local master browser. */ /* Announce info. */ time_t lastannounce_time; -- cgit