fix a segfault causing typo :P

This commit is contained in:
Bill Currie 2003-04-06 01:04:37 +00:00
parent e483333bbe
commit a72d3f6844

View file

@ -284,7 +284,7 @@ QFile_Progs_Init (progs_t *pr, int secure)
{ {
qfile_resources_t *res = calloc (sizeof (qfile_resources_t), 1); qfile_resources_t *res = calloc (sizeof (qfile_resources_t), 1);
PR_Resources_Register (pr, "Qfile", res, bi_qfile_clear); PR_Resources_Register (pr, "QFile", res, bi_qfile_clear);
if (secure) { if (secure) {
PR_AddBuiltin (pr, "Qrename", secured, -1); PR_AddBuiltin (pr, "Qrename", secured, -1);
PR_AddBuiltin (pr, "Qremove", secured, -1); PR_AddBuiltin (pr, "Qremove", secured, -1);