123456789101112 |
- $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
- --- vpnc-0.4.0.orig/config.c 2007-02-16 18:22:06.000000000 +0100
- +++ vpnc-0.4.0/config.c 2008-10-16 12:55:57.000000000 +0200
- @@ -485,7 +485,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;
- }
-
|