Commit 9564b4f0 authored by Thomas Markwalder's avatar Thomas Markwalder
Browse files

[master] Removed extraneous expression from omapi socket callback

    Merges in rt42834.
parent 2b5c8201
......@@ -60,6 +60,12 @@ by Eric Young (eay@cryptsoft.com).
script.
[ISC-Bugs #39863]
- Removed an extraneous expression in omapi socket callback function. Prior
to this change, the logic was techinically incorrect but other factors
ensured the outcome itself was correct. This change was made primarily
for code clarity.
[ISC-Bugs #42834]
Changes since 4.3.0 (bug fixes)
- Tidy up several small tickets.
......
......@@ -134,12 +134,11 @@ omapi_iscsock_cb(isc_task_t *task,
* walk through the io states list, if our object is on there
* service it. if not ignore it.
*/
for (obj = omapi_io_states.next;
(obj != NULL) && (obj->next != NULL);
obj = obj->next) {
for (obj = omapi_io_states.next; obj != NULL; obj = obj->next) {
if (obj == cbarg)
break;
}
if (obj == NULL) {
return(0);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment