1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

Merge a fix from HEAD to 3_0

Volker
(This used to be commit 6bc88d91e569541e4d4a2147e28439db96d02bd6)
This commit is contained in:
Volker Lendecke 2004-03-30 08:11:59 +00:00
parent 97b200d422
commit 62ae6e36f0

View File

@ -201,6 +201,9 @@ enum winbindd_result winbindd_wins_byname(struct winbindd_cli_state *state)
}
if (i != 0) {
/* Clear out the newline character */
/* But only if there is something in there,
otherwise we clobber something in the stack */
if (strlen(response))
response[strlen(response)-1] = ' ';
}
fstrcat(response,addr);