Fix an error path problem introduced in last commit
authorPetr Machata <pmachata@redhat.com>
Fri, 8 Aug 2014 15:05:46 +0000 (17:05 +0200)
committerChanho Park <chanho61.park@samsung.com>
Fri, 22 Aug 2014 11:38:27 +0000 (20:38 +0900)
read_config_file.c

index 05ff283..e9c050d 100644 (file)
@@ -1140,7 +1140,7 @@ process_line(struct protolib *plib, struct locus *loc, char *buf)
                                        report_error(loc->filename,
                                                     loc->line_no,
                                                     "%s", strerror(errno));
-                                       return -1;
+                                       goto err;
                                }
                                have_stop = 1;
                        }