diff options
author | sin <sin@2f30.org> | 2014-10-24 14:30:40 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-10-24 14:30:55 +0100 |
commit | 267c56c41afbee3923e5f4127acd436c4eb9c44f (patch) | |
tree | 2109974ea2c4d90619b37919fc636809e3faef7c /ratox.c | |
parent | edf96a7ce3c34448be3250ad0a0137f7ab951ca8 (diff) |
Use (none, pending, active) instead of (0, 1, 2)
Diffstat (limited to 'ratox.c')
-rw-r--r-- | ratox.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -396,7 +396,7 @@ cbcallinvite(void *av, int32_t cnum, void *udata) ftruncate(f->fd[FCALL_STATE], 0); lseek(f->fd[FCALL_STATE], 0, SEEK_SET); - dprintf(f->fd[FCALL_STATE], "1\n"); + dprintf(f->fd[FCALL_STATE], "pending\n"); } static void @@ -431,7 +431,7 @@ cbcallstart(void *av, int32_t cnum, void *udata) ftruncate(f->fd[FCALL_STATE], 0); lseek(f->fd[FCALL_STATE], 0, SEEK_SET); - dprintf(f->fd[FCALL_STATE], "2\n"); + dprintf(f->fd[FCALL_STATE], "active\n"); logmsg(": %s : Audio > Started\n", f->name); } @@ -532,7 +532,7 @@ cancelcall(struct friend *f, char *action) } ftruncate(f->fd[FCALL_STATE], 0); lseek(f->fd[FCALL_STATE], 0, SEEK_SET); - dprintf(f->fd[FCALL_STATE], "0\n"); + dprintf(f->fd[FCALL_STATE], "none\n"); /* Cancel Tx side of the call */ free(f->av.frame); @@ -1381,7 +1381,7 @@ friendcreate(int32_t frnum) /* Dump call pending state */ ftruncate(f->fd[FCALL_STATE], 0); - dprintf(f->fd[FCALL_STATE], "0\n"); + dprintf(f->fd[FCALL_STATE], "none\n"); f->av.state = 0; f->av.num = -1; |