--- vpnc-0.5.3.orig/config.c	2008-11-19 21:36:12.000000000 +0100
+++ vpnc-0.5.3/config.c	2010-02-06 04:35:05.394334473 +0100
@@ -456,7 +456,7 @@ static char *get_config_filename(const c
 {
 	char *realname;
 	
-	asprintf(&realname, "%s%s%s", index(name, '/') ? "" : "/etc/vpnc/", name, add_dot_conf ? ".conf" : "");
+	asprintf(&realname, "%s%s%s", strchr(name, '/') ? "" : "/etc/vpnc/", name, add_dot_conf ? ".conf" : "");
 	return realname;
 }
 
