From 8a2dff8d59a7f640a01ba3472f467cd2b3daec00 Mon Sep 17 00:00:00 2001 From: Christian Fischer Date: Mon, 5 Dec 2022 09:48:38 +0100 Subject: [PATCH] Minor coding style / function description update --- src/manage.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/manage.c b/src/manage.c index b4e80a47e..6b2d6d2af 100644 --- a/src/manage.c +++ b/src/manage.c @@ -5336,8 +5336,8 @@ get_cve_filename (char *item_id) /** * @brief Compute the filename where a given CERT-Bund Advisory can be found. * - * @param[in] item_id CERT-Bund identifier without version - ("CB-K??/????" or "WID-SEC-????-????") + * @param[in] item_id CERT-Bund identifier without version + * ("CB-K??/????" or "WID-SEC-????-????") * * @return A dynamically allocated string (to be g_free'd) containing the * path to the desired file or NULL on error. @@ -5351,7 +5351,7 @@ get_cert_bund_adv_filename (char *item_id) { return g_strdup_printf (CERT_BUND_ADV_FILENAME_FMT, year); } - if (sscanf (item_id, "WID-SEC-%d-%*s", &year) == 1 ) + if (sscanf (item_id, "WID-SEC-%d-%*s", &year) == 1) { // new year format is YYYY thus subtract 2000 from the int return g_strdup_printf (CERT_BUND_ADV_FILENAME_FMT, year - 2000);