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 1.14 1998/01/07 16:26:48 roberto Exp roberto $ | 2 | ** $Id: liolib.c,v 1.15 1998/03/06 16:54:42 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 | */ |
@@ -233,7 +233,7 @@ static void io_read (void) | |||
233 | ungetc(c, f); | 233 | ungetc(c, f); |
234 | l = luaL_getsize(); | 234 | l = luaL_getsize(); |
235 | if (l > 0 || *p == 0) /* read something or did not fail? */ | 235 | if (l > 0 || *p == 0) /* read something or did not fail? */ |
236 | lua_pushlstr(luaL_buffer(), l); | 236 | lua_pushlstring(luaL_buffer(), l); |
237 | } | 237 | } |
238 | 238 | ||
239 | 239 | ||