mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 07:40:12 +01:00
fixed a leaking file descriptor in extract_attachment_content()
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
15c9fa7101
commit
9997c10b4e
@ -308,8 +308,8 @@ void extract_attachment_content(struct session_data *sdata, struct parser_state
|
||||
memcpy(&(state->b_body[state->bodylen]), outbuf, n);
|
||||
state->bodylen += n;
|
||||
}
|
||||
//printf("Output: %.*s\n", n, outbuf);
|
||||
}
|
||||
close(link[0]);
|
||||
wait(NULL);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user