diff options
author | Volker Lendecke <vl@samba.org> | 2011-01-12 18:12:29 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-01-12 19:04:24 +0100 |
commit | 8c6b0b61e5a19de3b1d710e84a7a773321b8a257 (patch) | |
tree | 1406be682037d163baed15487364413cdc820a62 /source3/libads | |
parent | 4fe0765d911c2a08351805f4a953dc0cd512200d (diff) | |
download | samba-8c6b0b61e5a19de3b1d710e84a7a773321b8a257.tar.gz samba-8c6b0b61e5a19de3b1d710e84a7a773321b8a257.tar.bz2 samba-8c6b0b61e5a19de3b1d710e84a7a773321b8a257.zip |
s3: Fix some nonempty blank lines
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Jan 12 19:04:25 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/libads')
-rw-r--r-- | source3/libads/ads_struct.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/libads/ads_struct.c b/source3/libads/ads_struct.c index 7794952387..b6c8e995ed 100644 --- a/source3/libads/ads_struct.c +++ b/source3/libads/ads_struct.c @@ -3,17 +3,17 @@ ads (active directory) utility library Copyright (C) Andrew Tridgell 2001 Copyright (C) Andrew Bartlett 2001 - + 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/>. */ @@ -56,7 +56,7 @@ char *ads_build_path(const char *realm, const char *sep, const char *field, int p=strtok_r(r, sep, &saveptr); if (p) { strlcat(ret, p, len); - + while ((p=strtok_r(NULL, sep, &saveptr)) != NULL) { int retval; char *s = NULL; @@ -93,7 +93,7 @@ char *ads_build_dn(const char *realm) char *ads_build_domain(const char *dn) { char *dnsdomain = NULL; - + /* result should always be shorter than the DN */ if ( (dnsdomain = SMB_STRDUP( dn )) == NULL ) { @@ -123,10 +123,10 @@ ADS_STRUCT *ads_init(const char *realm, { ADS_STRUCT *ads; int wrap_flags; - + ads = SMB_XMALLOC_P(ADS_STRUCT); ZERO_STRUCTP(ads); - + ads->server.realm = realm? SMB_STRDUP(realm) : NULL; ads->server.workgroup = workgroup ? SMB_STRDUP(workgroup) : NULL; ads->server.ldap_server = ldap_server? SMB_STRDUP(ldap_server) : NULL; @@ -194,7 +194,7 @@ void ads_destroy(ADS_STRUCT **ads) SAFE_FREE((*ads)->config.client_site_name); SAFE_FREE((*ads)->config.schema_path); SAFE_FREE((*ads)->config.config_path); - + ZERO_STRUCTP(*ads); if ( is_mine ) |