svn commit: samba r25518 - in branches/SAMBA_4_0: . source/lib/ldb-samba

jelmer at samba.org jelmer at samba.org
Fri Oct 5 17:24:53 GMT 2007


Author: jelmer
Date: 2007-10-05 17:24:50 +0000 (Fri, 05 Oct 2007)
New Revision: 25518

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25518

Log:
Convert to standard bool types.
Modified:
   branches/SAMBA_4_0/
   branches/SAMBA_4_0/source/lib/ldb-samba/ldif_handlers.c


Changeset:

Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...

Modified: branches/SAMBA_4_0/source/lib/ldb-samba/ldif_handlers.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb-samba/ldif_handlers.c	2007-10-05 16:18:06 UTC (rev 25517)
+++ branches/SAMBA_4_0/source/lib/ldb-samba/ldif_handlers.c	2007-10-05 17:24:50 UTC (rev 25518)
@@ -78,7 +78,7 @@
 	return 0;
 }
 
-static BOOL ldb_comparision_objectSid_isString(const struct ldb_val *v)
+static bool ldb_comparision_objectSid_isString(const struct ldb_val *v)
 {
 	if (v->length < 3) {
 		return False;
@@ -86,7 +86,7 @@
 
 	if (strncmp("S-", (const char *)v->data, 2) != 0) return False;
 	
-	return True;
+	return true;
 }
 
 /*
@@ -176,7 +176,7 @@
 	return 0;
 }
 
-static BOOL ldb_comparision_objectGUID_isString(const struct ldb_val *v)
+static bool ldb_comparision_objectGUID_isString(const struct ldb_val *v)
 {
 	struct GUID guid;
 	NTSTATUS status;
@@ -191,7 +191,7 @@
 		return False;
 	}
 
-	return True;
+	return true;
 }
 
 /*



More information about the samba-cvs mailing list