summaryrefslogtreecommitdiff
path: root/source3/smbd/negprot.c
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-01-09 07:52:51 +0000
committerMartin Pool <mbp@samba.org>2002-01-09 07:52:51 +0000
commitf5bc0e92a66b418b2bd8f3669a9642b4d46bc8d1 (patch)
tree69f22209798728e027da50295b642ae53ab57e2c /source3/smbd/negprot.c
parenta8389eaeb575bcba33bd7d4fd378b342ba4e552a (diff)
downloadsamba-f5bc0e92a66b418b2bd8f3669a9642b4d46bc8d1.tar.gz
samba-f5bc0e92a66b418b2bd8f3669a9642b4d46bc8d1.tar.bz2
samba-f5bc0e92a66b418b2bd8f3669a9642b4d46bc8d1.zip
Better explanation message for dmalloc.
Also more insertion of parenthesis to handle struct members called 'free'. You can now get useful dmalloc output, as long as it is compatible with your C library. On RH7.1 it looks like you have to rebuild dmalloc to allow free(0) by default, because something in libcrypt does that. (sigh) (This used to be commit 391cbb690196537c8b6292b42c2e27408cc7e249)
Diffstat (limited to 'source3/smbd/negprot.c')
-rw-r--r--source3/smbd/negprot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index 52ba5e9789..af2f91936e 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -37,7 +37,7 @@ static void get_challange(char buff[8])
/* We might be called more than once, muliple negprots are premitted */
if (negprot_global_auth_context) {
DEBUG(3, ("get challange: is this a secondary negprot? negprot_global_auth_context is non-NULL!\n"));
- negprot_global_auth_context->free(&negprot_global_auth_context);
+ (negprot_global_auth_context->free)(&negprot_global_auth_context);
}
DEBUG(10, ("get challange: creating negprot_global_auth_context\n"));