summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async_sudo_timer.c
Commit message (Collapse)AuthorAgeFilesLines
* Make DEBUG macro invocations variadicNikolai Kondrashov2014-02-121-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | Use a script to update DEBUG macro invocations to use it as a variadic macro, supplying format string and its arguments directly, instead of wrapping them in parens. This script was used to update the code: grep -rwl --include '*.[hc]' DEBUG . | while read f; do mv "$f"{,.orig} perl -e \ 'use strict; use File::Slurp; my $text=read_file(\*STDIN); $text=~s#(\bDEBUG\s*\([^(]+)\((.*?)\)\s*\)\s*;#$1$2);#gs; print $text;' < "$f.orig" > "$f" rm "$f.orig" done Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
* Fix formating of variables with type: time_tLukas Slebodnik2013-09-111-1/+1
|
* sudo ldap provider: pass sudo_ctx instead of id_ctxPavel Březina2012-06-291-4/+4
| | | | | I had to create a new context structure to store additional information such as ip addresses and hostnames.
* sudo ldap provider: add new timer APIPavel Březina2012-06-291-0/+178