changeset 16824:b103a4c28fb0

Stu pointed out that I made an error, and Josh made it clear that the error is a complete inability to distinguish between char * and char []. Sean should understand this.
author Ethan Blanton <elb@pidgin.im>
date Thu, 03 May 2007 18:02:54 +0000
parents f0b4efc4a83a
children 03a95e212939
files libpurple/plugins/tcl/tcl_ref.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/plugins/tcl/tcl_ref.c	Thu May 03 17:56:31 2007 +0000
+++ b/libpurple/plugins/tcl/tcl_ref.c	Thu May 03 18:02:54 2007 +0000
@@ -114,7 +114,7 @@
 	char *ptr;
 	PurpleStringref *type;
 	void *value;
-	static const char const *prefix = "purple-";
+	static const char prefix[] = "purple-";
 	static const int prefixlen = sizeof(prefix) - 1;
 
 	if (strlen(bytes) < prefixlen