summaryrefslogtreecommitdiff
path: root/build/parseChangelog.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2011-05-24 08:51:56 +0300
committerPanu Matilainen <pmatilai@redhat.com>2011-05-24 08:51:56 +0300
commit78a6cf6fbf047c5bf0066df21792e4c9925d04a0 (patch)
treedf29f7786a3f90c65c6ded57e59606f18f290e3b /build/parseChangelog.c
parent00a9450edb3853d438e2f4d462a3f6b42719cbc5 (diff)
downloadlibrpm-tizen-78a6cf6fbf047c5bf0066df21792e4c9925d04a0.tar.gz
librpm-tizen-78a6cf6fbf047c5bf0066df21792e4c9925d04a0.tar.bz2
librpm-tizen-78a6cf6fbf047c5bf0066df21792e4c9925d04a0.zip
Do not die on empty changelog section
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
Diffstat (limited to 'build/parseChangelog.c')
-rw-r--r--build/parseChangelog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/parseChangelog.c b/build/parseChangelog.c
index 36a19c310..d4681cbd5 100644
--- a/build/parseChangelog.c
+++ b/build/parseChangelog.c
@@ -233,7 +233,7 @@ int parseChangelog(rpmSpec spec)
}
}
- if (addChangelog(spec->packages->header, sb)) {
+ if (sb && addChangelog(spec->packages->header, sb)) {
goto exit;
}
res = nextPart;