diff options
author | Jeremy Allison <jra@samba.org> | 2003-08-22 21:41:50 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-08-22 21:41:50 +0000 |
commit | ecb80573870103de7b3f332fb53bf6b952f25ee7 (patch) | |
tree | 71d6815ceb5c4522ee68e72ef743f5b958db940d /source/nmbd | |
parent | 50ab28bd2524187b851732176553382fb811a051 (diff) | |
download | samba-ecb80573870103de7b3f332fb53bf6b952f25ee7.tar.gz samba-ecb80573870103de7b3f332fb53bf6b952f25ee7.tar.xz samba-ecb80573870103de7b3f332fb53bf6b952f25ee7.zip |
Use correct size (17 not 16) when doing a push_ascii(). Ensure that
wins hook is called with unix charset.
Jeremy.
Diffstat (limited to 'source/nmbd')
-rw-r--r-- | source/nmbd/nmbd_winsserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nmbd/nmbd_winsserver.c b/source/nmbd/nmbd_winsserver.c index cd39dc5e212..784c909c814 100644 --- a/source/nmbd/nmbd_winsserver.c +++ b/source/nmbd/nmbd_winsserver.c @@ -120,7 +120,7 @@ static void wins_hook(const char *operation, struct name_record *namerec, int tt p += slprintf(p, sizeof(command)-1, "%s %s %s %02x %d", cmd, operation, - namerec->name.name, + nmb_namestr(&namerec->name), namerec->name.name_type, ttl); |