summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-01-12 18:12:29 +0100
committerVolker Lendecke <vlendec@samba.org>2011-01-12 19:04:24 +0100
commit8c6b0b61e5a19de3b1d710e84a7a773321b8a257 (patch)
tree1406be682037d163baed15487364413cdc820a62 /source3
parent4fe0765d911c2a08351805f4a953dc0cd512200d (diff)
downloadsamba-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')
-rw-r--r--source3/libads/ads_struct.c16
-rw-r--r--source3/libsmb/namequery_dc.c8
2 files changed, 12 insertions, 12 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 )
diff --git a/source3/libsmb/namequery_dc.c b/source3/libsmb/namequery_dc.c
index d6ff99959e..5d44719a8e 100644
--- a/source3/libsmb/namequery_dc.c
+++ b/source3/libsmb/namequery_dc.c
@@ -6,17 +6,17 @@
Copyright (C) Tim Potter 2001
Copyright (C) Andrew Bartlett 2002
Copyright (C) Gerald Carter 2003
-
+
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/>.
*/
@@ -48,7 +48,7 @@ static bool is_our_primary_domain(const char *domain)
/**************************************************************************
Find the name and IP address for a server in the realm/domain
*************************************************************************/
-
+
static bool ads_dc_name(const char *domain,
const char *realm,
struct sockaddr_storage *dc_ss,