diff options
author | Volker Lendecke <vl@samba.org> | 2013-12-15 20:23:16 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-12-17 01:57:12 +0100 |
commit | b263bfef2f873637ff5d83f3e78fa98902abe5c5 (patch) | |
tree | 942c5d977a142f4e52461c7d026ade9efe52ae6d /lib/tdb_wrap | |
parent | 677056c55bc7e5c182ccb146955bb1314ed6a1d5 (diff) | |
download | samba-b263bfef2f873637ff5d83f3e78fa98902abe5c5.tar.gz |
tdb_util: Fix whitespace
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/tdb_wrap')
-rw-r--r-- | lib/tdb_wrap/tdb_wrap.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/tdb_wrap/tdb_wrap.c b/lib/tdb_wrap/tdb_wrap.c index c50c6e00343..312d17fe961 100644 --- a/lib/tdb_wrap/tdb_wrap.c +++ b/lib/tdb_wrap/tdb_wrap.c @@ -1,20 +1,20 @@ -/* +/* Unix SMB/CIFS implementation. TDB wrap functions Copyright (C) Andrew Tridgell 2004 Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007 - + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ @@ -28,10 +28,10 @@ /* Log tdb messages via DEBUG(). */ -static void tdb_wrap_log(TDB_CONTEXT *tdb, enum tdb_debug_level level, +static void tdb_wrap_log(TDB_CONTEXT *tdb, enum tdb_debug_level level, const char *format, ...) PRINTF_ATTRIBUTE(3,4); -static void tdb_wrap_log(TDB_CONTEXT *tdb, enum tdb_debug_level level, +static void tdb_wrap_log(TDB_CONTEXT *tdb, enum tdb_debug_level level, const char *format, ...) { va_list ap; @@ -54,7 +54,7 @@ static void tdb_wrap_log(TDB_CONTEXT *tdb, enum tdb_debug_level level, break; default: debuglevel = 0; - } + } va_start(ap, format); ret = vasprintf(&ptr, format, ap); @@ -81,7 +81,7 @@ static int tdb_wrap_private_destructor(struct tdb_wrap_private *w) tdb_close(w->tdb); DLIST_REMOVE(tdb_list, w); return 0; -} +} static struct tdb_wrap_private *tdb_wrap_private_open(TALLOC_CTX *mem_ctx, const char *name, |