summaryrefslogtreecommitdiff
path: root/rpmdb
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2004-11-04 13:29:11 +0000
committerjbj <devnull@localhost>2004-11-04 13:29:11 +0000
commitafeddbf68df1ebaa6069845fcfd773401c0ba849 (patch)
tree6f3ea9e3a4b41f4e385af7f221a7884d0b6abfb0 /rpmdb
parent99012f2fab4b449228bf06aa3a11d0a0798ffbed (diff)
downloadlibrpm-tizen-afeddbf68df1ebaa6069845fcfd773401c0ba849.tar.gz
librpm-tizen-afeddbf68df1ebaa6069845fcfd773401c0ba849.tar.bz2
librpm-tizen-afeddbf68df1ebaa6069845fcfd773401c0ba849.zip
Stub in URL_IS_HTTPS everywhere.
CVS patchset: 7536 CVS date: 2004/11/04 13:29:11
Diffstat (limited to 'rpmdb')
-rw-r--r--rpmdb/legacy.c3
-rw-r--r--rpmdb/rpmdb.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/rpmdb/legacy.c b/rpmdb/legacy.c
index 8b3e75505..21b0f8907 100644
--- a/rpmdb/legacy.c
+++ b/rpmdb/legacy.c
@@ -194,8 +194,9 @@ int domd5(const char * fn, unsigned char * digest, int asAscii, size_t *fsizep)
break;
} /*@fallthrough@*/
#endif
- case URL_IS_FTP:
+ case URL_IS_HTTPS:
case URL_IS_HTTP:
+ case URL_IS_FTP:
case URL_IS_DASH:
default:
/* Either use the pipe to prelink -y or open the URL. */
diff --git a/rpmdb/rpmdb.c b/rpmdb/rpmdb.c
index 672c43c66..58b980b91 100644
--- a/rpmdb/rpmdb.c
+++ b/rpmdb/rpmdb.c
@@ -3467,8 +3467,9 @@ static int rpmioFileExists(const char * urlfn)
if (*fn == '\0') fn = "/";
/*@=branchstate@*/
switch (urltype) {
- case URL_IS_FTP: /* XXX WRONG WRONG WRONG */
+ case URL_IS_HTTPS: /* XXX WRONG WRONG WRONG */
case URL_IS_HTTP: /* XXX WRONG WRONG WRONG */
+ case URL_IS_FTP: /* XXX WRONG WRONG WRONG */
case URL_IS_PATH:
case URL_IS_UNKNOWN:
if (Stat(fn, &buf)) {