git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb8a4a7
)
r776: I should have just cut and pasted from my build area and I would
author
Herb Lewis
<herb@samba.org>
Tue, 18 May 2004 20:48:14 +0000
(20:48 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:51:37 +0000
(10:51 -0500)
have gotten this right :-)
(This used to be commit
548070274efa12f8c9a4404145d8a2a8c85387b3
)
source3/libsmb/nmblib.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/nmblib.c
b/source3/libsmb/nmblib.c
index 51a56711440bda23b0a0f14b61f65024f5e53121..d883c5308d39086292e34876f7d6b28939eff80e 100644
(file)
--- 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;