diff options
Diffstat (limited to 'liolib.c')
-rw-r--r-- | liolib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: liolib.c,v 2.94 2010/11/09 16:57:49 roberto Exp roberto $ | 2 | ** $Id: liolib.c,v 2.95 2010/11/10 18:05:36 roberto Exp roberto $ |
3 | ** Standard I/O (and system) library | 3 | ** Standard I/O (and system) library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -517,7 +517,7 @@ static int io_write (lua_State *L) { | |||
517 | 517 | ||
518 | 518 | ||
519 | static int f_write (lua_State *L) { | 519 | static int f_write (lua_State *L) { |
520 | FILE * f = tofile(L); | 520 | FILE * f = tofile(L); |
521 | lua_pushvalue(L, 1); /* push file at the stack top (to be returned) */ | 521 | lua_pushvalue(L, 1); /* push file at the stack top (to be returned) */ |
522 | return g_write(L, f, 2); | 522 | return g_write(L, f, 2); |
523 | } | 523 | } |