1
0
forked from bip/bip

Cosmetic (special kasdedi a trou)

This commit is contained in:
Arnaud Cornet 2009-01-26 16:57:52 +01:00
parent bfc86202a1
commit c2b3090e47

View File

@ -1233,8 +1233,7 @@ int main(int argc, char **argv)
if (!confpath) { if (!confpath) {
confpath = bip_malloc(strlen(conf_biphome) + 1 + confpath = bip_malloc(strlen(conf_biphome) + 1 +
strlen(S_CONF) + 1); strlen(S_CONF) + 1);
*confpath = 0; strcpy(confpath, conf_biphome);
strcat(confpath, conf_biphome);
strcat(confpath, "/"); strcat(confpath, "/");
strcat(confpath, S_CONF); strcat(confpath, S_CONF);
} }