Comment too verbose log

This commit is contained in:
Quentin 2019-05-10 10:39:15 +02:00
parent 47e47dceef
commit ed042b1d82

View file

@ -3,13 +3,13 @@
void free_fdinfo(void* v) { void free_fdinfo(void* v) {
struct evt_core_fdinfo* fdinfo = (struct evt_core_fdinfo*)v; struct evt_core_fdinfo* fdinfo = (struct evt_core_fdinfo*)v;
close(fdinfo->fd); // We close the file descriptor here close(fdinfo->fd); // We close the file descriptor here
fprintf(stderr, "Freeing fdinfo for %s\n", fdinfo->url); //fprintf(stderr, "Freeing fdinfo for %s\n", fdinfo->url);
if (fdinfo->free_other != NULL) { if (fdinfo->free_other != NULL) {
fprintf(stderr, "Freeing fdinfo->other for %s\n", fdinfo->url); //fprintf(stderr, "Freeing fdinfo->other for %s\n", fdinfo->url);
fdinfo->free_other(fdinfo->other); fdinfo->free_other(fdinfo->other);
} }
if (fdinfo->url != NULL) { if (fdinfo->url != NULL) {
fprintf(stderr, "Freeing fdinfo->url for %s\n", fdinfo->url); //fprintf(stderr, "Freeing fdinfo->url for %s\n", fdinfo->url);
free(fdinfo->url); // We free the URL here; free(fdinfo->url); // We free the URL here;
} }
free(v); free(v);