diff options
-rw-r--r-- | lib/ZPeekPkt.c | 2 | ||||
-rw-r--r-- | lib/ZPending.c | 2 | ||||
-rw-r--r-- | lib/ZRecvPkt.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/ZPeekPkt.c b/lib/ZPeekPkt.c index 2b109fb..e74a3d2 100644 --- a/lib/ZPeekPkt.c +++ b/lib/ZPeekPkt.c @@ -27,7 +27,7 @@ Code_t ZPeekPacket(buffer,buffer_len,ret_len,from) if (ZGetFD() < 0) return (ZERR_NOPORT); - if (!Z_QLength()) + if (!ZQLength()) if ((retval = Z_ReadWait()) != ZERR_NONE) return (retval); diff --git a/lib/ZPending.c b/lib/ZPending.c index ff9093b..047dcc3 100644 --- a/lib/ZPending.c +++ b/lib/ZPending.c @@ -23,5 +23,5 @@ int ZPending() Z_ReadEnqueue(); - return(Z_QLength()); + return(ZQLength()); } diff --git a/lib/ZRecvPkt.c b/lib/ZRecvPkt.c index 42e13be..afa4e7a 100644 --- a/lib/ZRecvPkt.c +++ b/lib/ZRecvPkt.c @@ -29,7 +29,7 @@ Code_t ZReceivePacket(buffer,buffer_len,ret_len,from) if (ZGetFD() < 0) return (ZERR_NOPORT); - if (!Z_QLength()) + if (!ZQLength()) if ((retval = Z_ReadWait()) != ZERR_NONE) return (retval); |