summaryrefslogtreecommitdiff
path: root/source3/include/nameserv.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-08-27 18:00:09 +0000
committerJeremy Allison <jra@samba.org>2003-08-27 18:00:09 +0000
commit8dc1a4f30066f7cc25ab6b775b24f32ba275d78e (patch)
treeffddb657a9c0dd56e9153729f95d3d2941bcd2a4 /source3/include/nameserv.h
parent4561b811df8b858fd7fbedeb534aa715d66a9005 (diff)
downloadsamba-8dc1a4f30066f7cc25ab6b775b24f32ba275d78e.tar.gz
Ensure we use correct length nstrings for workgroup and browser names.
Jeremy. (This used to be commit be534c8adf6c3cb8921ce49dbb79991c632d501e)
Diffstat (limited to 'source3/include/nameserv.h')
-rw-r--r--source3/include/nameserv.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/nameserv.h b/source3/include/nameserv.h
index 10e1295fb6e..1e867d620bc 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;