From 84cea46162d6328c2e3bc0166f5b27a0fa01b3f9 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Tue, 18 May 2004 20:48:14 +0000 Subject: 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) --- source3/libsmb/nmblib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/libsmb') 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; -- cgit