Fix whitespace of newly added lines to match rest of file
svn path=/trunk/; revision=22965
This commit is contained in:
parent
151a51d956
commit
90160079c0
|
@ -576,11 +576,11 @@ static gboolean do_fwrite(const void *data, size_t size, size_t count, FILE *str
|
|||
|
||||
nwritten = fwrite(data, size, count, stream);
|
||||
if (nwritten != count) {
|
||||
if (nwritten == 0 && ferror(stream))
|
||||
*err_p = errno;
|
||||
else
|
||||
*err_p = WTAP_ERR_SHORT_WRITE;
|
||||
return FALSE;
|
||||
if (nwritten == 0 && ferror(stream))
|
||||
*err_p = errno;
|
||||
else
|
||||
*err_p = WTAP_ERR_SHORT_WRITE;
|
||||
return FALSE;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue