aboutsummaryrefslogtreecommitdiffstats
path: root/src/interface.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/interface.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/interface.c b/src/interface.c
index 1e6fb4445..4c2190783 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -512,15 +512,15 @@ int doIOForInterfaces(void)
// Add fds for all registered IO handlers
if( ioList ) {
- struct ioOps *i = ioList;
- while( i ) {
- struct ioOps *current = i;
+ struct ioOps *o = ioList;
+ while( o ) {
+ struct ioOps *current = o;
int fdnum;
assert( current->fdset );
fdnum = current->fdset( &rfds, &wfds, &efds );
if( fdmax < fdnum )
fdmax = fdnum;
- i = i->next;
+ o = o->next;
}
}
@@ -531,12 +531,12 @@ int doIOForInterfaces(void)
// Consume fds for all registered IO handlers
if( ioList ) {
- struct ioOps *i = ioList;
- while( i ) {
- struct ioOps *current = i;
+ struct ioOps *o = ioList;
+ while( o ) {
+ struct ioOps *current = o;
assert( current->consume );
selret = current->consume( selret, &rfds, &wfds, &efds );
- i = i->next;
+ o = o->next;
}
}