mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Fixed a bunch of little bugs as reported by Fabian Keil.
Still one problem left; marked with a gcc #warning.
This commit is contained in:
parent
e05aeca87b
commit
2e0ce7d97f
23 changed files with 79 additions and 29 deletions
|
@ -95,7 +95,9 @@ read_line (FILE *fp,
|
|||
{
|
||||
int save_errno = errno;
|
||||
xfree (buffer);
|
||||
*length_of_buffer = *max_length = 0;
|
||||
*length_of_buffer = 0;
|
||||
if (max_length)
|
||||
*max_length = 0;
|
||||
errno = save_errno;
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue