diff options
author | christian mueller <christian.ei.mueller@bmw.de> | 2011-12-23 11:49:44 +0100 |
---|---|---|
committer | christian mueller <christian.ei.mueller@bmw.de> | 2011-12-23 11:49:44 +0100 |
commit | cd23bf5e1d2e1d134df91f23ebfd761d770a99db (patch) | |
tree | 5616cd145d00099ad6077874161e6d1cd725c284 /includes/SocketHandler.h | |
parent | 4f74d6e303c58326fe75ee75e1c92cf9263f800d (diff) | |
download | audiomanager-cd23bf5e1d2e1d134df91f23ebfd761d770a99db.tar.gz |
* fixed no compile bug
* fixed sockethandler loop
Diffstat (limited to 'includes/SocketHandler.h')
-rw-r--r-- | includes/SocketHandler.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/SocketHandler.h b/includes/SocketHandler.h index ab2bf33..74f20ac 100644 --- a/includes/SocketHandler.h +++ b/includes/SocketHandler.h @@ -59,7 +59,6 @@ public: am_Error_e stopTimer(const sh_timerHandle_t handle); void start_listenting(); void stop_listening(); - private: struct timer_s //!<struct that holds information of timers { @@ -113,7 +112,7 @@ private: static bool onlyFiredEvents(const pollfd& a) { - return a.events==0 ? false : true; + return a.revents==0 ? false : true; } //todo: maybe we could simplify mListActiveTimer to hold only the handle and the countdown .... |