diff options
| author | Volker Lendecke <vl@samba.org> | 2008-07-02 14:06:09 +0200 | 
|---|---|---|
| committer | Volker Lendecke <vl@samba.org> | 2008-07-02 14:18:10 +0200 | 
| commit | 69b9cffe6ee441b19e301019f84823173a457a9a (patch) | |
| tree | d06d7b384f49e6a4b518547e97a6d81f7df4f78b | |
| parent | d6ab71f06c22739cacd683ae07e87b120c6c749a (diff) | |
| download | samba-69b9cffe6ee441b19e301019f84823173a457a9a.tar.gz samba-69b9cffe6ee441b19e301019f84823173a457a9a.tar.bz2 samba-69b9cffe6ee441b19e301019f84823173a457a9a.zip  | |
Fix indentation
(This used to be commit 954556b527aa652f9a46f0d48834e92befb3c5f9)
| -rw-r--r-- | source3/winbindd/idmap_cache.c | 28 | 
1 files changed, 14 insertions, 14 deletions
diff --git a/source3/winbindd/idmap_cache.c b/source3/winbindd/idmap_cache.c index ebfae7dc26..a3207663e4 100644 --- a/source3/winbindd/idmap_cache.c +++ b/source3/winbindd/idmap_cache.c @@ -396,15 +396,15 @@ NTSTATUS idmap_cache_map_sid(struct idmap_cache_ctx *cache, struct id_map *id)  	/* Check for valid or expired cache hits */ -		if (t <= now) { +	if (t <= now) {  		/* We're expired. Return not mapped */ -			ret = NT_STATUS_NONE_MAPPED; -		} else { -			/* this is not mapped as it was a negative cache hit */ -			id->status = ID_UNMAPPED; -			ret = NT_STATUS_OK; -		} -	 +		ret = NT_STATUS_NONE_MAPPED; +	} else { +		/* this is not mapped as it was a negative cache hit */ +		id->status = ID_UNMAPPED; +		ret = NT_STATUS_OK; +	} +  done:  	SAFE_FREE(databuf.dptr);  	talloc_free(sidkey); @@ -508,14 +508,14 @@ NTSTATUS idmap_cache_map_id(struct idmap_cache_ctx *cache, struct id_map *id)  	/* Process the negative cache hit */ -		if (t <= now) { +	if (t <= now) {  		/* We're expired.  Return not mapped */ -			ret = NT_STATUS_NONE_MAPPED; -		} else { +		ret = NT_STATUS_NONE_MAPPED; +	} else {  		/* this is not mapped is it was a negative cache hit */ -			id->status = ID_UNMAPPED; -			ret = NT_STATUS_OK; -		} +		id->status = ID_UNMAPPED; +		ret = NT_STATUS_OK; +	}  done:  	SAFE_FREE(databuf.dptr);  | 
