[asterisk-addons-commits] file: trunk r298 - in /trunk: ./
asterisk-ooh323c/src/
asterisk-addons-commits at lists.digium.com
asterisk-addons-commits at lists.digium.com
Wed Sep 20 14:26:40 MST 2006
Author: file
Date: Wed Sep 20 16:26:39 2006
New Revision: 298
URL: http://svn.digium.com/view/asterisk-addons?rev=298&view=rev
Log:
Constify!
Modified:
trunk/asterisk-ooh323c/src/chan_h323.c
trunk/cdr_addon_mysql.c
trunk/res_config_mysql.c
Modified: trunk/asterisk-ooh323c/src/chan_h323.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/asterisk-ooh323c/src/chan_h323.c?rev=298&r1=297&r2=298&view=diff
==============================================================================
--- trunk/asterisk-ooh323c/src/chan_h323.c (original)
+++ trunk/asterisk-ooh323c/src/chan_h323.c Wed Sep 20 16:26:39 2006
@@ -1793,7 +1793,8 @@
struct ast_variable *v;
struct ooh323_user *user = NULL;
struct ooh323_peer *peer = NULL;
- char *cat, *utype;
+ char *cat;
+ const char *utype;
if(gH323Debug)
ast_verbose("--- reload_config\n");
Modified: trunk/cdr_addon_mysql.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/cdr_addon_mysql.c?rev=298&r1=297&r2=298&view=diff
==============================================================================
--- trunk/cdr_addon_mysql.c (original)
+++ trunk/cdr_addon_mysql.c Wed Sep 20 16:26:39 2006
@@ -287,7 +287,7 @@
int res;
struct ast_config *cfg;
struct ast_variable *var;
- char *tmp;
+ const char *tmp;
cfg = ast_config_load(config);
if (!cfg) {
Modified: trunk/res_config_mysql.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/res_config_mysql.c?rev=298&r1=297&r2=298&view=diff
==============================================================================
--- trunk/res_config_mysql.c (original)
+++ trunk/res_config_mysql.c Wed Sep 20 16:26:39 2006
@@ -532,7 +532,7 @@
static int parse_config (void)
{
struct ast_config *config;
- char *s;
+ const char *s;
config = ast_config_load(RES_CONFIG_MYSQL_CONF);
More information about the asterisk-addons-commits
mailing list