svn commit: samba r17049 - in branches/SOC/mkhl/ldb-map/modules: .

mkhl at samba.org mkhl at samba.org
Sat Jul 15 08:56:19 GMT 2006


Author: mkhl
Date: 2006-07-15 08:56:19 +0000 (Sat, 15 Jul 2006)
New Revision: 17049

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

Log:
Insert missing braces.

Martin

Modified:
   branches/SOC/mkhl/ldb-map/modules/ldb_map.c


Changeset:
Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c
===================================================================
--- branches/SOC/mkhl/ldb-map/modules/ldb_map.c	2006-07-15 08:46:27 UTC (rev 17048)
+++ branches/SOC/mkhl/ldb-map/modules/ldb_map.c	2006-07-15 08:56:19 UTC (rev 17049)
@@ -1547,12 +1547,13 @@
 		break;
 
 	case MAP_CONVERT:
-		if (map->u.convert.convert_local == NULL)
+		if (map->u.convert.convert_local == NULL) {
 			ldb_debug(module->ldb, LDB_DEBUG_ERROR, "ldb_map: "
 				  "Skipping attribute '%s': "
 				  "'convert_local' not set\n",
 				  map->local_name);
-		goto failed;
+			goto failed;
+		}
 
 		el = copy_conv_msg_el(module, remote, old,
 				      map->u.convert.remote_name,



More information about the samba-cvs mailing list