Showing
1 changed file
with
4 additions
and
4 deletions
... | ... | @@ -89,21 +89,21 @@ ioHandlerWrite(void * _this, TR_Event event) |
89 | 89 | TR_CommEndPoint endpoint = (TR_CommEndPoint)event->subject; |
90 | 90 | |
91 | 91 | if (TR_cepWriteBuffered(endpoint)) { |
92 | - TR_Event event; | |
92 | + TR_Event new_event; | |
93 | 93 | |
94 | 94 | if (TR_cepHasPendingData(endpoint)) { |
95 | - event = TR_eventSubjectEmit( | |
95 | + new_event = TR_eventSubjectEmit( | |
96 | 96 | event->subject, |
97 | 97 | TR_CEP_EVENT_PENDING_DATA, |
98 | 98 | NULL); |
99 | 99 | } else { |
100 | - event = TR_eventSubjectEmit( | |
100 | + new_event = TR_eventSubjectEmit( | |
101 | 101 | event->subject, |
102 | 102 | TR_CEP_EVENT_END_DATA, |
103 | 103 | NULL); |
104 | 104 | } |
105 | 105 | |
106 | - TR_eventHandlerIssueEvent((TR_EventHandler)_this, event); | |
106 | + TR_eventHandlerIssueEvent((TR_EventHandler)_this, new_event); | |
107 | 107 | } |
108 | 108 | |
109 | 109 | return TR_EVENT_DONE; | ... | ... |
Please
register
or
login
to post a comment