[svn-commits] dvossel: trunk r198558 - /trunk/main/threadstorage.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Jun 1 10:23:28 CDT 2009


Author: dvossel
Date: Mon Jun  1 10:23:21 2009
New Revision: 198558

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=198558
Log:
Fixed an issue in the threadstorage cli functions resulting from the constification of struct ast_cli_args in r196072.


Modified:
    trunk/main/threadstorage.c

Modified: trunk/main/threadstorage.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/main/threadstorage.c?view=diff&rev=198558&r1=198557&r2=198558
==============================================================================
--- trunk/main/threadstorage.c (original)
+++ trunk/main/threadstorage.c Mon Jun  1 10:23:21 2009
@@ -125,7 +125,7 @@
 
 static char *handle_cli_threadstorage_show_allocations(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
 {
-	char *fn = NULL;
+	const char *fn = NULL;
 	size_t len = 0;
 	unsigned int count = 0;
 	struct tls_object *to;
@@ -169,7 +169,7 @@
 
 static char *handle_cli_threadstorage_show_summary(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
 {
-	char *fn = NULL;
+	const char *fn = NULL;
 	size_t len = 0;
 	unsigned int count = 0;
 	struct tls_object *to;




More information about the svn-commits mailing list