svn commit: r246818 - projects/diffused_head/sbin/ipfw/diffuse_exporter
Lawrence Stewart
lstewart at FreeBSD.org
Fri Feb 15 02:07:06 UTC 2013
Author: lstewart
Date: Fri Feb 15 02:07:05 2013
New Revision: 246818
URL: http://svnweb.freebsd.org/changeset/base/246818
Log:
Fix a const vs non-const string issue.
Reported by: clang
Modified:
projects/diffused_head/sbin/ipfw/diffuse_exporter/diffuse_exporter.c
Modified: projects/diffused_head/sbin/ipfw/diffuse_exporter/diffuse_exporter.c
==============================================================================
--- projects/diffused_head/sbin/ipfw/diffuse_exporter/diffuse_exporter.c Fri Feb 15 02:01:40 2013 (r246817)
+++ projects/diffused_head/sbin/ipfw/diffuse_exporter/diffuse_exporter.c Fri Feb 15 02:07:05 2013 (r246818)
@@ -232,7 +232,7 @@ parse_anodes(char *oparg)
{
struct action_node *tmp_anode;
char *anode_str, *x;
- char *sep = ",";
+ const char *sep = ",";
x = strdup(oparg);
More information about the svn-src-projects
mailing list