Update hex2hcd.c

This commit is contained in:
ZTG LXC 2021-02-26 18:42:01 +07:00 committed by GitHub
parent 844a026296
commit 07dd0e0822
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,11 +91,9 @@ int main(int argc, char *argv[])
return 0; return 0;
} }
ifp = open_file(ifn, "r"); ifp = open_file(ifn, "r");
ofp = open_file(ofn, "w"); ofp = open_file(ofn, "w");
rbuf = NULL; rbuf = NULL;
while (len = getline(&rbuf, &buflen, ifp)) { while (len = getline(&rbuf, &buflen, ifp)) {
int type; int type;