Change api for pbx_builtin_setvar to actually return error code if a function can...
authorOlle Johansson <oej@edvina.net>
Mon, 25 Jan 2010 21:13:20 +0000 (21:13 +0000)
committerOlle Johansson <oej@edvina.net>
Mon, 25 Jan 2010 21:13:20 +0000 (21:13 +0000)
commit7c61a7105f8b7c1c333c2eb417b9be8b960a7364
treeda4586f2d1121090831e666eeb33869c08409b10
parent52b0cb912b19d80bb3c44af6049efe206b27015d
Change api for pbx_builtin_setvar to actually return error code if a function can't be written to.

This patch removes code that was duplicated from pbx.c to manager.c
in order to prevent API change in released versions of Asterisk.

There are propably also other places that would benefit from reading the
return code and react if a function returns error codes on writing a value into it.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@242919 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/pbx.h
main/manager.c
main/pbx.c