1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00

s3: Fix some nonempty blank lines

This commit is contained in:
Volker Lendecke 2010-11-16 19:17:32 +01:00
parent b3091e0e22
commit 365116ea92

View File

@ -5,17 +5,17 @@
Copyright (C) Andrew Tridgell 2001 Copyright (C) Andrew Tridgell 2001
Copyright (C) Guenther Deschner 2006,2007 Copyright (C) Guenther Deschner 2006,2007
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or the Free Software Foundation; either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
@ -72,13 +72,13 @@ static ADS_STATUS ads_do_search_retry_internal(ADS_STRUCT *ads, const char *bind
if (*res) if (*res)
ads_msgfree(ads, *res); ads_msgfree(ads, *res);
*res = NULL; *res = NULL;
DEBUG(3,("Reopening ads connection to realm '%s' after error %s\n", DEBUG(3,("Reopening ads connection to realm '%s' after error %s\n",
ads->config.realm, ads_errstr(status))); ads->config.realm, ads_errstr(status)));
ads_disconnect(ads); ads_disconnect(ads);
status = ads_connect(ads); status = ads_connect(ads);
if (!ADS_ERR_OK(status)) { if (!ADS_ERR_OK(status)) {
DEBUG(1,("ads_search_retry: failed to reconnect (%s)\n", DEBUG(1,("ads_search_retry: failed to reconnect (%s)\n",
ads_errstr(status))); ads_errstr(status)));
@ -190,7 +190,7 @@ static ADS_STATUS ads_do_search_retry_args(ADS_STRUCT *ads, const char *bind_pat
{ {
char *dn, *sid_string; char *dn, *sid_string;
ADS_STATUS status; ADS_STATUS status;
sid_string = sid_binstring_hex(sid); sid_string = sid_binstring_hex(sid);
if (sid_string == NULL) { if (sid_string == NULL) {
return ADS_ERROR(LDAP_NO_MEMORY); return ADS_ERROR(LDAP_NO_MEMORY);
@ -293,7 +293,7 @@ ADS_STATUS ads_ranged_search_internal(ADS_STRUCT *ads,
ads_errstr(status))); ads_errstr(status)));
return status; return status;
} }
if (!res) { if (!res) {
return ADS_ERROR(LDAP_NO_MEMORY); return ADS_ERROR(LDAP_NO_MEMORY);
} }