diff options
author | Kinsey Moore <kmoore@digium.com> | 2013-05-29 02:26:17 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2013-05-29 02:26:17 +0000 |
commit | 6851801a5ebcb0fc7cdf20c14a68e96e67d7f96e (patch) | |
tree | 271a81f5970dd968cc4815205717daaaafcb529c /apps/app_fax.c | |
parent | bb584c55dee3fbe1bd6d4ecffdfff2c74733cc65 (diff) |
Resolve a merge conflict
When ast_channel_cached_blob_create was merged,
ast_channel_blob_create_from_cache was partially removed in an
unresolved merge conflict. This restores ast_channel_blob_create_from_cache
and refactors usage of ast_channel_cached_blob_create (requires an
ast_channel) to use ast_channel_blob_create_from_cache (requires a
channel uniqueid) instead.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@389974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_fax.c')
-rw-r--r-- | apps/app_fax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_fax.c b/apps/app_fax.c index a7b9e53d1..e23ac431e 100644 --- a/apps/app_fax.c +++ b/apps/app_fax.c @@ -268,7 +268,7 @@ static void phase_e_handler(t30_state_t *f, void *user_data, int result) "fax_resolution", stat.y_resolution, "fax_bitrate", stat.bit_rate, "filenames", json_filenames); - message = ast_channel_cached_blob_create(s->chan, ast_channel_fax_type(), json_object); + message = ast_channel_blob_create_from_cache(ast_channel_uniqueid(s->chan), ast_channel_fax_type(), json_object); if (!message) { return; } |