Best reviewed with: `git show --word-diff`.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
while (n2 && *s2 == ' ') { s2++; n2--; };
while (n1 && n2 && *s1 && *s2) {
- /* the first 127 (0x7F) chars are ascii and utf8 guarantes they
+ /* the first 127 (0x7F) chars are ascii and utf8 guarantees they
* never appear in multibyte sequences */
if (((unsigned char)s1[0]) & 0x80) goto utf8str;
if (((unsigned char)s2[0]) & 0x80) goto utf8str;
}
if (in_trace && secret_attributes && ldb_attr_in_list(secret_attributes, msg->elements[i].name)) {
- /* Deliberatly skip printing this password */
+ /* Deliberately skip printing this password */
ret = fprintf_fn(private_data, "# %s::: REDACTED SECRET ATTRIBUTE\n",
msg->elements[i].name);
CHECK_RET;
}
/* TODO: handle the "*" case derived from an extended search
- operation without the attibute type defined */
+ operation without the attribute type defined */
el = ldb_msg_find_element(msg, tree->u.equality.attr);
if (el == NULL) {
*matched = false;
/*
see if two ldb_val structures contain exactly the same data
- return 1 for a match, 0 for a mis-match
+ return 1 for a match, 0 for a mismatch
*/
int ldb_val_equal_exact(const struct ldb_val *v1, const struct ldb_val *v2)
{
return NULL;
}
- /* we now excatly how long this string will be */
+ /* we now exactly how long this string will be */
ts = talloc_array(mem_ctx, char, 18);
/* formatted like: 20040408072012.0Z */
return NULL;
}
- /* we now excatly how long this string will be */
+ /* we now exactly how long this string will be */
ts = talloc_array(mem_ctx, char, 14);
/* formatted like: 20040408072012.0Z => 040408072012Z */
size += dn_len;
/*
- * First calcuate the buffer size we need, and check for
+ * First calculate the buffer size we need, and check for
* overflows
*/
for (i=0;i<message->num_elements;i++) {