Really fix the USA_RESIDENT botch.

Submitted by:	Dmitry Valdov <dv@dv.ru>
This commit is contained in:
Jordan K. Hubbard 2000-03-03 20:33:21 +00:00
parent 2216ad9c7e
commit 8b80a8837b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57742
3 changed files with 3 additions and 3 deletions

View File

@ -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");
}
}
}

View File

@ -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");
}
}
}

View File

@ -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");
}
}
}