Fixes for dw_event_wait() return code changes.
author |
Brian Smith <brian@dbsoft.org> |
date |
Sat, 07 May 2011 00:40:21 -0500 |
parents |
a0e6cd4a4a68 |
children |
3dbc5640bf11 |
files |
receive.c send.c |
diffstat |
2 files changed, 2 insertions(+), 2 deletions(-)
[+]
|
line diff
--- a/receive.c Sat May 07 00:29:45 2011 -0500
+++ b/receive.c Sat May 07 00:40:21 2011 -0500
@@ -299,7 +299,7 @@
while(ai->Acc)
{
- if(dw_event_wait(ai->RecvEve, 1000) > 0)
+ if(dw_event_wait(ai->RecvEve, 1000) == DW_ERROR_NONE)
{
/* Check mail! */
struct hostent *hostnm;
--- a/send.c Sat May 07 00:29:45 2011 -0500
+++ b/send.c Sat May 07 00:40:21 2011 -0500
@@ -346,7 +346,7 @@
while(ai->Acc)
{
- if(dw_event_wait(ai->SendEve, 1000) > 0)
+ if(dw_event_wait(ai->SendEve, 1000) == DW_ERROR_NONE)
{
/* Send mail! */
struct hostent *hostnm;