summaryrefslogtreecommitdiffstats
path: root/ldap/servers/slapd/globals.c
diff options
context:
space:
mode:
authorNathan Kinder <nkinder@redhat.com>2010-09-08 14:38:56 -0700
committerNathan Kinder <nkinder@redhat.com>2010-09-09 13:40:36 -0700
commit72b41da04e195fff5eeb639efeb380a47352baa6 (patch)
treec816455d52e2314025e73bdd82926dc437219b3f /ldap/servers/slapd/globals.c
parent6be23ba8b516f965a7ddadecbf9d25c513085d32 (diff)
downloadds-72b41da04e195fff5eeb639efeb380a47352baa6.tar.gz
ds-72b41da04e195fff5eeb639efeb380a47352baa6.tar.xz
ds-72b41da04e195fff5eeb639efeb380a47352baa6.zip
Bug 630094 - (cov#15452) Remove NULL checking for op_string
There is no chance for op_string to be NULL if "rc == LDAP_SUCCESS" since op_string is set for all operation types in the switch statement, which is the only place that rc can be set to something other that the value of -1 that it is initialized to. We can just skip the NULL checking for op_string in the calls to slapi_log_error(). I also fixed the indentation to help me read the code easier.
Diffstat (limited to 'ldap/servers/slapd/globals.c')
0 files changed, 0 insertions, 0 deletions