diff options
Diffstat (limited to 'table.c')
-rw-r--r-- | table.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ | |||
3 | ** Module to control static tables | 3 | ** Module to control static tables |
4 | */ | 4 | */ |
5 | 5 | ||
6 | char *rcs_table="$Id: table.c,v 2.25 1994/12/20 21:20:36 roberto Exp roberto $"; | 6 | char *rcs_table="$Id: table.c,v 2.26 1995/01/12 14:19:04 roberto Exp roberto $"; |
7 | 7 | ||
8 | #include <string.h> | 8 | #include <string.h> |
9 | 9 | ||
@@ -197,7 +197,7 @@ char *lua_addfile (char *fn) | |||
197 | { | 197 | { |
198 | if (lua_nfile >= MAXFILE) | 198 | if (lua_nfile >= MAXFILE) |
199 | return "too many files"; | 199 | return "too many files"; |
200 | if ((lua_file[lua_nfile++] = strdup (fn)) == NULL) | 200 | if ((lua_file[lua_nfile++] = luaI_strdup (fn)) == NULL) |
201 | return "not enough memory"; | 201 | return "not enough memory"; |
202 | return NULL; | 202 | return NULL; |
203 | } | 203 | } |