/* external references for the update */
KNOWNID(UPDATE_REFERENCE_TYPE, "update:reference:type"), /* type, e.g. 'bugzilla' or 'cve' */
-KNOWNID(UPDATE_REFERENCE_URL, "update:reference:url"), /* url, e.g. 'http://bugzilla...' */
+KNOWNID(UPDATE_REFERENCE_HREF, "update:reference:href"), /* href, e.g. 'http://bugzilla...' */
KNOWNID(UPDATE_REFERENCE_ID, "update:reference:id"), /* id, e.g. bug number */
KNOWNID(UPDATE_REFERENCE_TITLE, "update:reference:title"), /* title, e.g. "the bla forz scribs on fuggle" */
*/
case STATE_REFERENCE:
{
- const char *url = 0, *id = 0, *title = 0, *type = 0;
+ const char *href = 0, *id = 0, *title = 0, *type = 0;
for (; *atts; atts += 2)
{
if (!strcmp(*atts, "href"))
- url = atts[1];
+ href = atts[1];
else if (!strcmp(*atts, "id"))
id = atts[1];
else if (!strcmp(*atts, "title"))
type = atts[1];
}
#if DO_ARRAY
- repodata_add_poolstr_array(pd->data, pd->datanum, UPDATE_REFERENCE_URL, url);
+ repodata_add_poolstr_array(pd->data, pd->datanum, UPDATE_REFERENCE_HREF, href);
repodata_add_poolstr_array(pd->data, pd->datanum, UPDATE_REFERENCE_ID, id);
repodata_add_poolstr_array(pd->data, pd->datanum, UPDATE_REFERENCE_TITLE, title);
repodata_add_poolstr_array(pd->data, pd->datanum, UPDATE_REFERENCE_TYPE, type);