[asterisk-dev] [svn-commits] twilson: trunk r223874 - in /trunk: apps/ include/asterisk/ res/

asterisk at ntplx.net asterisk at ntplx.net
Mon Oct 12 21:49:10 CDT 2009


Trunk does not compile in dev mode...

To fix: init dial to NULL, as done in other places.

--- res/res_calendar.c  (revision 223909)
+++ res/res_calendar.c  (working copy)
@@ -625,7 +625,7 @@
  static void *do_notify(void *data)
  {
         struct ast_calendar_event *event = data;
-       struct ast_dial *dial;
+       struct ast_dial *dial = NULL;
         struct ast_str *apptext = NULL;
         struct ast_datastore *datastore;
         enum ast_dial_result res;

-- 

Andrew Lindh
<andrew at netplex.net>



Quoting SVN commits to the Digium repositories <svn-commits at lists.digium.com>:

> Author: twilson
> Date: Mon Oct 12 20:51:46 2009
> New Revision: 223874
>
> URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=223874
> Log:
> Fix handling of notification calls w/ the dialing api
>





More information about the asterisk-dev mailing list