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