@ -2855,7 +2855,7 @@ static int wait_our_turn(struct queue_ent *qe, int ringing, enum queue_result *r
break ;
/* If we have timed out, break out */
if ( qe - > expire & & ( time ( NULL ) > qe - > expire ) ) {
if ( qe - > expire & & ( time ( NULL ) > = qe - > expire ) ) {
* reason = QUEUE_TIMEOUT ;
break ;
}
@ -2890,7 +2890,7 @@ static int wait_our_turn(struct queue_ent *qe, int ringing, enum queue_result *r
break ;
/* If we have timed out, break out */
if ( qe - > expire & & ( time ( NULL ) > qe - > expire ) ) {
if ( qe - > expire & & ( time ( NULL ) > = qe - > expire ) ) {
* reason = QUEUE_TIMEOUT ;
break ;
}
@ -2901,12 +2901,12 @@ static int wait_our_turn(struct queue_ent *qe, int ringing, enum queue_result *r
break ;
/* see if we need to move to the next penalty level for this queue */
while ( qe - > pr & & ( ( time ( NULL ) - qe - > start ) > qe - > pr - > time ) ) {
while ( qe - > pr & & ( ( time ( NULL ) - qe - > start ) > = qe - > pr - > time ) ) {
update_qe_rule ( qe ) ;
}
/* If we have timed out, break out */
if ( qe - > expire & & ( time ( NULL ) > qe - > expire ) ) {
if ( qe - > expire & & ( time ( NULL ) > = qe - > expire ) ) {
* reason = QUEUE_TIMEOUT ;
break ;
}
@ -2920,7 +2920,7 @@ static int wait_our_turn(struct queue_ent *qe, int ringing, enum queue_result *r
}
/* If we have timed out, break out */
if ( qe - > expire & & ( time ( NULL ) > qe - > expire ) ) {
if ( qe - > expire & & ( time ( NULL ) > = qe - > expire ) ) {
* reason = QUEUE_TIMEOUT ;
break ;
}
@ -3245,7 +3245,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
* This should be extremely rare . queue_exec will take care
* of removing the caller and reporting the timeout as the reason .
*/
if ( qe - > expire & & now > qe - > expire ) {
if ( qe - > expire & & now > = qe - > expire ) {
res = 0 ;
goto out ;
}
@ -4707,7 +4707,7 @@ check_turns:
enum queue_member_status status ;
/* Leave if we have exceeded our queuetimeout */
if ( qe . expire & & ( time ( NULL ) > qe . expire ) ) {
if ( qe . expire & & ( time ( NULL ) > = qe . expire ) ) {
record_abandoned ( & qe ) ;
reason = QUEUE_TIMEOUT ;
res = 0 ;
@ -4730,7 +4730,7 @@ check_turns:
goto stop ;
/* Leave if we have exceeded our queuetimeout */
if ( qe . expire & & ( time ( NULL ) > qe . expire ) ) {
if ( qe . expire & & ( time ( NULL ) > = qe . expire ) ) {
record_abandoned ( & qe ) ;
reason = QUEUE_TIMEOUT ;
res = 0 ;
@ -4786,7 +4786,7 @@ check_turns:
}
/* Leave if we have exceeded our queuetimeout */
if ( qe . expire & & ( time ( NULL ) > qe . expire ) ) {
if ( qe . expire & & ( time ( NULL ) > = qe . expire ) ) {
record_abandoned ( & qe ) ;
reason = QUEUE_TIMEOUT ;
res = 0 ;