diff options
-rw-r--r-- | liolib.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: liolib.c,v 2.24 2002/11/18 16:53:19 roberto Exp roberto $ | 2 | ** $Id: liolib.c,v 2.25 2002/11/25 15:05:39 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 | */ |
@@ -413,8 +413,7 @@ static int g_write (lua_State *L, FILE *f, int arg) { | |||
413 | status = status && (fwrite(s, sizeof(char), l, f) == l); | 413 | status = status && (fwrite(s, sizeof(char), l, f) == l); |
414 | } | 414 | } |
415 | } | 415 | } |
416 | pushresult(L, status, NULL); | 416 | return pushresult(L, status, NULL); |
417 | return 1; | ||
418 | } | 417 | } |
419 | 418 | ||
420 | 419 | ||