KarlWinkler / Network-Projects

1 stars 0 forks source link

Image sizes are hard coded #1

Open KarlWinkler opened 2 years ago

KarlWinkler commented 2 years ago

Why are they hard coded. I think it is easier to read and its not like it matters anyways.

It works anyways so I probably wont ever change it.

KarlWinkler commented 2 years ago

How it should be done:

fseek(fp, 0L, SEEK_END);
sz = ftell(fp);
rewind(fp);