1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r19157: Fix the build

(This used to be commit 3fc328dade)
This commit is contained in:
Volker Lendecke 2006-10-06 19:49:16 +00:00 committed by Gerald (Jerry) Carter
parent 9d8d4f24b1
commit 9e69c4fbea

View File

@ -5197,6 +5197,18 @@ struct share_params *next_share(struct share_iterator *list)
return result;
}
struct share_params *next_printer(struct share_iterator *list)
{
struct share_params *result;
while ((result = next_share(list)) != NULL) {
if (lp_print_ok(result->service)) {
break;
}
}
return result;
}
/*******************************************************************
A useful volume label function.
********************************************************************/