summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorportix <none@none>2012-06-25 18:18:51 +0200
committerportix <none@none>2012-06-25 18:18:51 +0200
commitadedeb10982a880c67a6fcdedde1794b9553fed0 (patch)
tree42fa821ef4769f6e1119dd134603312c3577efa3 /src
parent7d74c2686f972ba416f128a17246aff298f18865 (diff)
downloaddwb-adedeb10982a880c67a6fcdedde1794b9553fed0.zip
Don't append null byte in io_write
Diffstat (limited to 'src')
-rw-r--r--src/scripts.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/scripts.c b/src/scripts.c
index 4cba9e14..bb9318d3 100644
--- a/src/scripts.c
+++ b/src/scripts.c
@@ -1174,7 +1174,6 @@ io_write(JSContextRef ctx, JSObjectRef function, JSObjectRef thisObject, size_t
goto error_out;
if ( (f = fopen(path, mode)) != NULL) {
fputs(content, f);
- putc(0, f);
fclose(f);
ret = true;
}