s3: Fix some False/NULL hickups
[mat/samba.git] / source3 / lib / tldap_util.c
index 6b9f912e277954aca234330d2b7966d86c3a04f5..41d89815d0258194136cc055afc3e9b609ead6e1 100644 (file)
@@ -75,7 +75,7 @@ char *tldap_talloc_single_attribute(struct tldap_message *msg,
        size_t len;
 
        if (!tldap_get_single_valueblob(msg, attribute, &val)) {
-               return false;
+               return NULL;
        }
        if (!convert_string_talloc(mem_ctx, CH_UTF8, CH_UNIX,
                                   val.data, val.length,