From ba1699463bee4d622e76f54c1a1c17858545c84f Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 6 Jun 2012 15:22:31 +0200 Subject: s3:smb: introduce a name TID_FIELD_INVALID for the invalid value for a cnum/tid Pair-Programmed-With: Stefan Metzmacher --- source3/smbd/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/connection.c') diff --git a/source3/smbd/connection.c b/source3/smbd/connection.c index 01eb9d79f7b..846a173ad7d 100644 --- a/source3/smbd/connection.c +++ b/source3/smbd/connection.c @@ -71,7 +71,7 @@ static int count_fn(struct db_record *rec, { struct count_stat *cs = (struct count_stat *)udp; - if (crec->cnum == -1) { + if (crec->cnum == TID_FIELD_INVALID) { return 0; } -- cgit