diff options
| author | Noriko Hosoi <nhosoi@redhat.com> | 2010-07-08 11:28:42 -0700 |
|---|---|---|
| committer | Noriko Hosoi <nhosoi@redhat.com> | 2010-07-23 13:40:44 -0700 |
| commit | 25dfa7cf81554e8795c8cb260f7493a94f59e6fb (patch) | |
| tree | 3fbaf8b84bcce4fd712c2d1580121a9061f61ce1 /lib/libaccess | |
| parent | 00b81fed600b1ccef6bc87fcdaf562283e183002 (diff) | |
| download | ds-25dfa7cf81554e8795c8cb260f7493a94f59e6fb.tar.gz ds-25dfa7cf81554e8795c8cb260f7493a94f59e6fb.tar.xz ds-25dfa7cf81554e8795c8cb260f7493a94f59e6fb.zip | |
610281 - fix coverity Defect Type: Control flow issues
https://bugzilla.redhat.com/show_bug.cgi?id=610281
11834 DEADCODE Triaged Unassigned Bug Minor Fix Required
write_function() ds/ldap/servers/slapd/daemon.c
Comment:
The location of checking for sentbytes is not correct.
Execution cannot reach this statement "if (sentbytes < count){ {...".
1724 } else if (sentbytes < count) {
1725 LDAPDebug(LDAP_DEBUG_CONNS,
It should not be "else" of checking for "bytes".
Moving the check after "else if (sentbytes > count)".
Diffstat (limited to 'lib/libaccess')
0 files changed, 0 insertions, 0 deletions
