converted_size = 0;
if (!as) {
return ndr_pull_error(ndr, NDR_ERR_ALLOC,
- "Failed to talloc_strndup() in zero-length ndr_string_pull()");
+ "Failed to talloc_strndup() in zero-length ndr_pull_string()");
}
} else {
if (!do_convert) {
conv_src_len);
if (!as) {
return ndr_pull_error(ndr, NDR_ERR_ALLOC,
- "Failed to talloc_strndup() in RAW8 ndr_string_pull()");
+ "Failed to talloc_strndup() in RAW8 ndr_pull_string()");
}
converted_size = MIN(strlen(as)+1, conv_src_len);
} else if (!convert_string_talloc(ndr->current_mem_ctx, chset,
"converted string "
"(and therefore source string) "
"despite "
- "LIBNDR_FLAG_NO_EMBEDDED_NUL\n",
+ "LIBNDR_FLAG_STR_NO_EMBEDDED_NUL\n",
strlen_of_unix_string);
}
}
"converted string "
"(and therefore source string) "
"despite "
- "LIBNDR_FLAG_NO_EMBEDDED_NUL\n",
+ "LIBNDR_FLAG_STR_NO_EMBEDDED_NUL\n",
strlen_of_unix_string);
}
}