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