Fix downloading_path not being initialized

master
Håvard Pettersson 5 years ago
parent 5223c2c24b
commit 4ca6ae3169

@ -62,6 +62,7 @@ twc_tfer_new()
struct t_twc_tfer *tfer = malloc(sizeof(struct t_twc_tfer)); struct t_twc_tfer *tfer = malloc(sizeof(struct t_twc_tfer));
tfer->files = twc_list_new(); tfer->files = twc_list_new();
tfer->buffer = NULL; tfer->buffer = NULL;
tfer->downloading_path = NULL;
return tfer; return tfer;
} }

Loading…
Cancel
Save