]> granicus.if.org Git - curl/commitdiff
xattr: use const char * for const strings
authorDaniel Stenberg <daniel@haxx.se>
Mon, 8 Nov 2010 08:10:33 +0000 (09:10 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 8 Nov 2010 08:10:33 +0000 (09:10 +0100)
src/xattr.c

index 1047c8a6322b3ada5d08ce49961e4bf59b6212e4..eb244f852941a3f55ef0a622f4af9f0342c031ed 100644 (file)
@@ -32,7 +32,7 @@
 
 /* mapping table of curl metadata to extended attribute names */
 static struct xattr_mapping {
-  char *attr; /* name of the xattr */
+  const char *attr; /* name of the xattr */
   CURLINFO info;
 } mappings[] = {
   /* mappings proposed by