commit | c0e7071cd4e790bf75beda27ef07f8cb4ab4919d | [log] [tgz] |
---|---|---|
author | Lev Walkin <vlm@lionet.info> | Wed Oct 05 09:01:51 2005 +0000 |
committer | Lev Walkin <vlm@lionet.info> | Wed Oct 05 09:01:51 2005 +0000 |
tree | 4a45f5b1dc3de482ce055f58e8bf0929328dae8a | |
parent | ac760bf5b9fc1c0647d563bd1aed9232513ed1ce [diff] [blame] |
asn1c code for windows platform fixed, thanks to rmeub@users.sourceforge.net
diff --git a/libasn1compiler/asn1c_save.c b/libasn1compiler/asn1c_save.c index 0eb70c9..e0a2f67 100644 --- a/libasn1compiler/asn1c_save.c +++ b/libasn1compiler/asn1c_save.c
@@ -353,7 +353,7 @@ while(!feof(fpsrc)) { len = fread(buf, 1, sizeof(buf), fpsrc); - if(fwrite(buf, 1, len, fpsrc) != len) { + if(fwrite(buf, 1, len, fpdst) != len) { errno = EIO; retval = -1; break;