[SCM] Samba Shared Repository - branch master updated
Volker Lendecke
vlendec at samba.org
Wed Jan 12 11:05:02 MST 2011
The branch, master has been updated
via 8c6b0b6 s3: Fix some nonempty blank lines
from 4fe0765 s3-docs: Typos in rpcclient man page
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 8c6b0b61e5a19de3b1d710e84a7a773321b8a257
Author: Volker Lendecke <vl at samba.org>
Date: Wed Jan 12 18:12:29 2011 +0100
s3: Fix some nonempty blank lines
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Wed Jan 12 19:04:25 CET 2011 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
source3/libads/ads_struct.c | 16 ++++++++--------
source3/libsmb/namequery_dc.c | 8 ++++----
2 files changed, 12 insertions(+), 12 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/libads/ads_struct.c b/source3/libads/ads_struct.c
index 7794952..b6c8e99 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 d6ff999..5d44719 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,
--
Samba Shared Repository
More information about the samba-cvs
mailing list