forked from github/server
abuse of sprintf
This commit is contained in:
parent
83d72028c2
commit
56e7060c2f
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ if $(BINDINGS) = TOLUA {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ! $(LUA_VERSION) {
|
if ! $(LUA_VERSION) {
|
||||||
LUA_VERSION = 5.0 ;
|
LUA_VERSION = 5.1 ;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ! $(HAVE_LUA) {
|
if ! $(HAVE_LUA) {
|
||||||
|
|
|
@ -1466,7 +1466,7 @@ report_template(const char * filename, report_context * ctx, const char * charse
|
||||||
}
|
}
|
||||||
rps_nowrap(F, "");
|
rps_nowrap(F, "");
|
||||||
rnl(F);
|
rnl(F);
|
||||||
sprintf(buf, LOC(f->locale, parameters[P_NEXT]));
|
strcpy(buf, LOC(f->locale, parameters[P_NEXT]));
|
||||||
rps_nowrap(F, buf);
|
rps_nowrap(F, buf);
|
||||||
rnl(F);
|
rnl(F);
|
||||||
fclose(F);
|
fclose(F);
|
||||||
|
|
Loading…
Reference in a new issue