svn commit: samba r8468 - in trunk/source/libsmb: .
jerry at samba.org
jerry at samba.org
Thu Jul 14 13:24:00 GMT 2005
Author: jerry
Date: 2005-07-14 13:24:00 +0000 (Thu, 14 Jul 2005)
New Revision: 8468
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8468
Log:
BUG 2872: fix cut-n-paste error when checking pointer value in ntlmssp_set_workstation()branches/SAMBA_3_0/source/libsmb/ntlmssp.c
Modified:
trunk/source/libsmb/ntlmssp.c
Changeset:
Modified: trunk/source/libsmb/ntlmssp.c
===================================================================
--- trunk/source/libsmb/ntlmssp.c 2005-07-14 13:21:27 UTC (rev 8467)
+++ trunk/source/libsmb/ntlmssp.c 2005-07-14 13:24:00 UTC (rev 8468)
@@ -182,7 +182,7 @@
NTSTATUS ntlmssp_set_workstation(NTLMSSP_STATE *ntlmssp_state, const char *workstation)
{
ntlmssp_state->workstation = talloc_strdup(ntlmssp_state->mem_ctx, workstation);
- if (!ntlmssp_state->domain) {
+ if (!ntlmssp_state->workstation) {
return NT_STATUS_NO_MEMORY;
}
return NT_STATUS_OK;
More information about the samba-cvs
mailing list