X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=src%2Fdirplex%2Fconf.c;h=10d501fd351f60cb2f031ef968455b07a8c338c7;hp=3f9f9e88529650ae7baa167803da37a4028edc81;hb=7db7f6782db37193f6ba9c2c8bac38a5bfcbb114;hpb=f12637570e539be6dede4ce7f550e92caa2e3061 diff --git a/src/dirplex/conf.c b/src/dirplex/conf.c index 3f9f9e8..10d501f 100644 --- a/src/dirplex/conf.c +++ b/src/dirplex/conf.c @@ -329,6 +329,8 @@ struct config **getconfigs(char *file) if(ret != NULL) free(ret); bufinit(buf); + if(!strncmp(file, "./", 2)) + file += 2; tmp = sstrdup(file); while(1) { if((p = strrchr(tmp, '/')) == NULL)