Really fix the USA_RESIDENT botch.
Submitted by: Dmitry Valdov <dv@dv.ru>
This commit is contained in:
parent
2216ad9c7e
commit
8b80a8837b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57742
@ -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