summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
Diffstat (limited to 'ratox.c')
-rw-r--r--ratox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratox.c b/ratox.c
index 010c887..6bf8e38 100644
--- a/ratox.c
+++ b/ratox.c
@@ -1668,7 +1668,7 @@ loop(void)
f->fd[FCALL_OUT] = fd;
}
- if (!(f->av.state & INCOMING) && !(f->av.state & OUTGOING))
+ if (f->av.state == TRANSMITTING)
cancelcall(f, "Hung up");
if (f->av.state & RINGING) {