diff options
author | Herb Lewis <herb@samba.org> | 2004-05-18 20:48:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:51:37 -0500 |
commit | 84cea46162d6328c2e3bc0166f5b27a0fa01b3f9 (patch) | |
tree | 81f44c5391d9b269b50a933083b57469980af64b | |
parent | bb8a4a7991a04e16765f68e5cb770617d086e3d8 (diff) | |
download | samba-84cea46162d6328c2e3bc0166f5b27a0fa01b3f9.tar.gz samba-84cea46162d6328c2e3bc0166f5b27a0fa01b3f9.tar.bz2 samba-84cea46162d6328c2e3bc0166f5b27a0fa01b3f9.zip |
r776: I should have just cut and pasted from my build area and I would
have gotten this right :-)
(This used to be commit 548070274efa12f8c9a4404145d8a2a8c85387b3)
-rw-r--r-- | source3/libsmb/nmblib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/nmblib.c b/source3/libsmb/nmblib.c index 51a5671144..d883c5308d 100644 --- a/source3/libsmb/nmblib.c +++ b/source3/libsmb/nmblib.c @@ -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; |