X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=keydb_hkp.c;h=8bb8c02bd2e3a5b5ccc504ecd36d856ad12899bb;hb=ec3fd8971e87c82b2768b5b9dcbcd569edc3259b;hp=7c7b31a4a50e75bc7acc290bb6333e81c8c07cf7;hpb=8e0907be1d73011075a99a0c029c56664e12843e;p=onak.git diff --git a/keydb_hkp.c b/keydb_hkp.c index 7c7b31a..8bb8c02 100644 --- a/keydb_hkp.c +++ b/keydb_hkp.c @@ -52,7 +52,7 @@ static int hkp_parse_url(struct onak_hkp_dbctx *privctx, const char *url) &port); if (matched < 2) { proto[0] = 0; - matched = sscanf(url, "%256[a-zA-Z0-9.]:%u", host, &port); + sscanf(url, "%256[a-zA-Z0-9.]:%u", host, &port); } if (host[0] == 0) {