diff libpurple/plugins/tcl/tcl_ref.c @ 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 728b4288c061
children 44b4e8bd759b
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