1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-07 01:58:28 +03:00

r13167: handle cotrols' reply even in error

(This used to be commit b9d1d02f381cf81883c9f22a1702319f5fce6eb8)
This commit is contained in:
Simo Sorce 2006-01-26 16:42:25 +00:00 committed by Gerald (Jerry) Carter
parent d346794a8d
commit cd7553959e

View File

@ -87,8 +87,7 @@ static int do_search(struct ldb_context *ldb,
if (ret != LDB_SUCCESS) {
printf("search failed - %s\n", ldb_errstring(ldb));
if (req.op.search.res && req.op.search.res->controls) {
/* TODO: handle_control */
handle_controls_reply(req.op.search.res->controls, req.controls);
}
return -1;
}