[svn-commits] mmichelson: branch jrothenberger/asterisk-urgent r103800 - in /team/jrothenbe...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Feb 18 17:52:18 CST 2008
Author: mmichelson
Date: Mon Feb 18 17:52:18 2008
New Revision: 103800
URL: http://svn.digium.com/view/asterisk?view=rev&rev=103800
Log:
Clear compiler warning due to the fact that the inboxcount function in app_voicemail
now has a different signature.
All changes to this branch are tracked on issue #11817.
Modified:
team/jrothenberger/asterisk-urgent/include/asterisk/app.h
team/jrothenberger/asterisk-urgent/main/app.c
Modified: team/jrothenberger/asterisk-urgent/include/asterisk/app.h
URL: http://svn.digium.com/view/asterisk/team/jrothenberger/asterisk-urgent/include/asterisk/app.h?view=diff&rev=103800&r1=103799&r2=103800
==============================================================================
--- team/jrothenberger/asterisk-urgent/include/asterisk/app.h (original)
+++ team/jrothenberger/asterisk-urgent/include/asterisk/app.h Mon Feb 18 17:52:18 2008
@@ -104,7 +104,7 @@
int ast_app_getdata_full(struct ast_channel *c, char *prompt, char *s, int maxlen, int timeout, int audiofd, int ctrlfd);
void ast_install_vm_functions(int (*has_voicemail_func)(const char *mailbox, const char *folder),
- int (*inboxcount_func)(const char *mailbox, int *newmsgs, int *oldmsgs),
+ int (*inboxcount_func)(const char *mailbox, int *urgentmsgs, int *newmsgs, int *oldmsgs),
int (*messagecount_func)(const char *context, const char *mailbox, const char *folder));
void ast_uninstall_vm_functions(void);
Modified: team/jrothenberger/asterisk-urgent/main/app.c
URL: http://svn.digium.com/view/asterisk/team/jrothenberger/asterisk-urgent/main/app.c?view=diff&rev=103800&r1=103799&r2=103800
==============================================================================
--- team/jrothenberger/asterisk-urgent/main/app.c (original)
+++ team/jrothenberger/asterisk-urgent/main/app.c Mon Feb 18 17:52:18 2008
@@ -179,7 +179,7 @@
static int (*ast_messagecount_func)(const char *context, const char *mailbox, const char *folder) = NULL;
void ast_install_vm_functions(int (*has_voicemail_func)(const char *mailbox, const char *folder),
- int (*inboxcount_func)(const char *mailbox, int *newmsgs, int *oldmsgs),
+ int (*inboxcount_func)(const char *mailbox, int *urgentmsgs, int *newmsgs, int *oldmsgs),
int (*messagecount_func)(const char *context, const char *mailbox, const char *folder))
{
ast_has_voicemail_func = has_voicemail_func;
More information about the svn-commits
mailing list