1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

r776: I should have just cut and pasted from my build area and I would

have gotten this right :-)
(This used to be commit 548070274e)
This commit is contained in:
Herb Lewis
2004-05-18 20:48:14 +00:00
committed by Gerald (Jerry) Carter
parent bb8a4a7991
commit 84cea46162

View File

@ -1167,7 +1167,7 @@ char *dns_to_netbios_name(const char *dns_name)
netbios name up to and including the '.' this even applies, by
mistake, to workgroup (domain) names, which is _really_ daft.
*/
for (i = 0; i < 15; i--) {
for (i = 0; i < 15; i++) {
if (netbios_name[i] == '.') {
netbios_name[i] = 0;
break;