Commit c0e7071c authored by Lev Walkin's avatar Lev Walkin

asn1c code for windows platform fixed, thanks to rmeub@users.sourceforge.net

parent ac760bf5
......@@ -353,7 +353,7 @@ real_copy(const char *src, const char *dst) {
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment