From 108b926b7c4cf9ee87093aeeac7eb6143f5b75ed Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Sun, 10 Aug 2008 05:28:46 +0300 Subject: [PATCH] initialize send_message to make chan_vpb build C++ aparantly requires all fields in a struct to be explicitly initialized. Thus the extra field added to struct channel_tech requires adding an extra field in the initializations in chan_vpb.cc . --- channels/chan_vpb.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/channels/chan_vpb.cc b/channels/chan_vpb.cc index 359a4ddf0..e702fe611 100644 --- a/channels/chan_vpb.cc +++ b/channels/chan_vpb.cc @@ -387,6 +387,7 @@ static struct ast_channel_tech vpb_tech = { read: vpb_read, write: vpb_write, send_text: NULL, + send_message: NULL, send_image: NULL, send_html: NULL, exception: NULL, @@ -415,6 +416,7 @@ static struct ast_channel_tech vpb_tech_indicate = { read: vpb_read, write: vpb_write, send_text: NULL, + send_message: NULL, send_image: NULL, send_html: NULL, exception: NULL, -- 2.11.4.GIT