diff options
author | Volker Lendecke <vl@samba.org> | 2010-03-16 22:23:06 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-03-16 22:35:41 +0100 |
commit | 02d7cdc671e27b5ed717c4c0e088b8457caa6e4a (patch) | |
tree | c0f7a1e88040b1aa5a88824f5aaaeeb2623a7477 | |
parent | 0d8ab380551941ab5880a6e5be49b73d541746a4 (diff) | |
download | samba-02d7cdc671e27b5ed717c4c0e088b8457caa6e4a.tar.gz samba-02d7cdc671e27b5ed717c4c0e088b8457caa6e4a.tar.bz2 samba-02d7cdc671e27b5ed717c4c0e088b8457caa6e4a.zip |
s3: Fix some nonempty blank lines
-rw-r--r-- | source3/passdb/login_cache.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/passdb/login_cache.c b/source3/passdb/login_cache.c index 5630372a01..5e7e9a0b50 100644 --- a/source3/passdb/login_cache.c +++ b/source3/passdb/login_cache.c @@ -2,17 +2,17 @@ Unix SMB/CIFS implementation. struct samu local cache for Copyright (C) Jim McDonough (jmcd@us.ibm.com) 2004. - + 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/>. */ @@ -31,7 +31,7 @@ static TDB_CONTEXT *cache; bool login_cache_init(void) { char* cache_fname = NULL; - + /* skip file open if it's already opened */ if (cache) return True; @@ -152,7 +152,7 @@ bool login_cache_write(const struct samu *sampass, LOGIN_CACHE entry) SAFE_FREE(keystr); return False; } - + if (tdb_pack(databuf.dptr, databuf.dsize, SAM_CACHE_FORMAT, entry_timestamp, entry.acct_ctrl, @@ -174,7 +174,7 @@ bool login_cache_delentry(const struct samu *sampass) { int ret; char *keystr; - + if (!login_cache_init()) return False; @@ -191,7 +191,7 @@ bool login_cache_delentry(const struct samu *sampass) DEBUG(9, ("About to delete entry for %s\n", keystr)); ret = tdb_delete_bystring(cache, keystr); DEBUG(9, ("tdb_delete returned %d\n", ret)); - + SAFE_FREE(keystr); return ret == 0; } |