automerge commit

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@43720 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Automerge script 19 years ago
parent 1de86fd7fc
commit 4c6fb3dd37

@ -5545,12 +5545,13 @@ static int vm_exec(struct ast_channel *chan, void *data)
static int append_mailbox(char *context, char *mbox, char *data)
{
/* Assumes lock is already held */
char tmp[256] = "";
char *tmp;
char *stringp;
char *s;
struct ast_vm_user *vmu;
ast_copy_string(tmp, data, sizeof(tmp));
tmp = ast_strdupa(data);
vmu = malloc(sizeof(struct ast_vm_user));
if (vmu) {
memset(vmu, 0, sizeof(struct ast_vm_user));

@ -2417,7 +2417,7 @@ int main(int argc, char *argv[])
buf[strlen(buf)-1] = '\0';
consolehandler((char *)buf);
} else {
} else if (option_remote) {
if (write(STDOUT_FILENO, "\nUse EXIT or QUIT to exit the asterisk console\n",
strlen("\nUse EXIT or QUIT to exit the asterisk console\n")) < 0) {
/* Whoa, stdout disappeared from under us... Make /dev/null's */

@ -7830,7 +7830,7 @@ static int sip_show_objects(int fd, int argc, char *argv[])
return RESULT_SUCCESS;
}
/*! \brief print_group: Print call group and pickup group ---*/
static void print_group(int fd, unsigned int group, int crlf)
static void print_group(int fd, ast_group_t group, int crlf)
{
char buf[256];
ast_cli(fd, crlf ? "%s\r\n" : "%s\n", ast_print_group(buf, sizeof(buf), group) );

@ -389,8 +389,8 @@ struct ast_channel {
/* A linked list for variables */
struct varshead varshead;
unsigned int callgroup;
unsigned int pickupgroup;
ast_group_t callgroup;
ast_group_t pickupgroup;
/*! channel flags of AST_FLAG_ type */
unsigned int flags;

Loading…
Cancel
Save