]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Add missing parenthesis 282/head
authorJonathan Dieter <jdieter@gmail.com>
Mon, 8 Oct 2018 11:55:56 +0000 (12:55 +0100)
committerJonathan Dieter <jdieter@gmail.com>
Mon, 8 Oct 2018 11:57:53 +0000 (12:57 +0100)
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
ext/solv_xfopen.c

index 4a3105682b070d20ed08b7e4a252842fd0b49016..343aed86834afb78f073118a88ab96c417109e29 100644 (file)
@@ -552,12 +552,12 @@ static void *zchunkopen(const char *path, const char *mode, int fd)
     }
   if (*mode != 'w')
     {
-      if(!zck_init_read(f, fd);
+      if(!zck_init_read(f, fd))
         return 0;
     }
    else
     {
-      if(!zck_init_write(f, fd);
+      if(!zck_init_write(f, fd))
         return 0;
     }
   return cookieopen(f, mode, cookie_zckread, cookie_zckwrite, cookie_zckclose);