summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-05-05 11:20:13 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-05-05 11:20:13 +0300
commit3c5f581df6be0776b1d49e94d518c58e93a886c2 (patch)
tree87ee9271046d23efac9050728dd8199762f0d85d /build
parent7b80971078c7c278d80243bfde3afaa7ce540eb8 (diff)
downloadrpm-3c5f581df6be0776b1d49e94d518c58e93a886c2.tar.gz
rpm-3c5f581df6be0776b1d49e94d518c58e93a886c2.tar.bz2
rpm-3c5f581df6be0776b1d49e94d518c58e93a886c2.zip
Indentation fixes
Diffstat (limited to 'build')
-rw-r--r--build/parseSpec.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/build/parseSpec.c b/build/parseSpec.c
index 7a39c59f4..3ee4649cf 100644
--- a/build/parseSpec.c
+++ b/build/parseSpec.c
@@ -281,16 +281,15 @@ int readLine(rpmSpec spec, int strip)
if (!restoreFirstChar(spec)) {
retry:
- if ((rc = readLineFromOFI(spec, ofi)) != 0)
- return rc;
-
- /* Copy next file line into the spec line buffer */
-
- if ((rc = copyNextLineFromOFI(spec, ofi)) != 0) {
- if (rc == RPMRC_FAIL)
- goto retry;
- return rc;
- }
+ if ((rc = readLineFromOFI(spec, ofi)) != 0)
+ return rc;
+
+ /* Copy next file line into the spec line buffer */
+ if ((rc = copyNextLineFromOFI(spec, ofi)) != 0) {
+ if (rc == RPMRC_FAIL)
+ goto retry;
+ return rc;
+ }
}
copyNextLineFinish(spec, strip);