diff options
Diffstat (limited to 'apps/app_chanspy.c')
-rw-r--r-- | apps/app_chanspy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c index 75d485123..f6886347d 100644 --- a/apps/app_chanspy.c +++ b/apps/app_chanspy.c @@ -263,7 +263,7 @@ static int spy_generate(struct ast_channel *chan, void *data, int len, int sampl } if (csth->fd) - write(csth->fd, f->data, f->datalen); + write(csth->fd, f->data.ptr, f->datalen); ast_frfree(f); |