Fix position of parenthesis

pull/97/head
Tatsuhiro Tsujikawa 2013-05-23 00:43:37 +09:00
parent 42d3408b50
commit b7a3976456
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ GZipFile::GZipFile(const char* filename, const char* mode)
open_ = fp;
if (open_) {
int fd = dup(fileno(fp));
if ((open_ = fd) >= 0) {
if ((open_ = (fd >= 0))) {
open_ = (fp_ = gzdopen(fd, mode));
if (!open_) {
::close(fd);