Explorar el Código

Fix position of parenthesis

Tatsuhiro Tsujikawa hace 12 años
padre
commit
b7a3976456
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/GZipFile.cc

+ 1 - 1
src/GZipFile.cc

@@ -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);