mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r5398: fixed encoding of *SMBSERVER name (thanks to Karl Melcher for spotting this)
This commit is contained in:
parent
2650b43ca9
commit
76c49851b9
@ -133,7 +133,7 @@ static uint8_t *compress_name(TALLOC_CTX *mem_ctx,
|
||||
cname[2*i] = 'A' + (name[i]>>4);
|
||||
cname[1+2*i] = 'A' + (name[i]&0xF);
|
||||
}
|
||||
if (name[0] == '*') {
|
||||
if (strcmp(name, "*") == 0) {
|
||||
pad_char = 0;
|
||||
} else {
|
||||
pad_char = ' ';
|
||||
|
Loading…
Reference in New Issue
Block a user