Really fix the USA_RESIDENT botch.
Submitted by: Dmitry Valdov <dv@dv.ru>
This commit is contained in:
parent
69eb79866d
commit
37653e93e6
@ -386,7 +386,7 @@ configMake_conf(char *config)
|
||||
if (!strncmp(lines[i], "USA_RESIDENT", 12)) {
|
||||
free(lines[i]);
|
||||
lines[i] = malloc(21); /* big enough */
|
||||
sprintf(lines[i], "USA_RESIDENT=\"%s\"\n", USAResident ? "YES" : "NO");
|
||||
sprintf(lines[i], "USA_RESIDENT=%s\n", USAResident ? "YES" : "NO");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -386,7 +386,7 @@ configMake_conf(char *config)
|
||||
if (!strncmp(lines[i], "USA_RESIDENT", 12)) {
|
||||
free(lines[i]);
|
||||
lines[i] = malloc(21); /* big enough */
|
||||
sprintf(lines[i], "USA_RESIDENT=\"%s\"\n", USAResident ? "YES" : "NO");
|
||||
sprintf(lines[i], "USA_RESIDENT=%s\n", USAResident ? "YES" : "NO");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -386,7 +386,7 @@ configMake_conf(char *config)
|
||||
if (!strncmp(lines[i], "USA_RESIDENT", 12)) {
|
||||
free(lines[i]);
|
||||
lines[i] = malloc(21); /* big enough */
|
||||
sprintf(lines[i], "USA_RESIDENT=\"%s\"\n", USAResident ? "YES" : "NO");
|
||||
sprintf(lines[i], "USA_RESIDENT=%s\n", USAResident ? "YES" : "NO");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user