summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-05-26 00:09:42 +0000
committerjbj <devnull@localhost>1999-05-26 00:09:42 +0000
commitb6b3485847db4317122e3d42db7a16d55c590222 (patch)
tree865368a9085c1b2ac32cdc8b3a10d0769b455a36 /lib
parenta162f5ddbd8aed0a8cbae61bc4b408152c010b6a (diff)
downloadrpm-b6b3485847db4317122e3d42db7a16d55c590222.tar.gz
rpm-b6b3485847db4317122e3d42db7a16d55c590222.tar.bz2
rpm-b6b3485847db4317122e3d42db7a16d55c590222.zip
Typo.
CVS patchset: 3078 CVS date: 1999/05/26 00:09:42
Diffstat (limited to 'lib')
-rw-r--r--lib/rpmrc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rpmrc.c b/lib/rpmrc.c
index ac2f36be7..0635458bc 100644
--- a/lib/rpmrc.c
+++ b/lib/rpmrc.c
@@ -702,6 +702,7 @@ static int doReadRC(FD_t fd, const char * filename)
case RPMVAR_PROVIDES:
{ char *t;
s = rpmGetVar(RPMVAR_PROVIDES);
+ if (s == NULL) s = "";
fn = t = malloc(strlen(s) + strlen(se) + 2);
while (*s) *t++ = *s++;
*t++ = ' ';