From 961610489a921ebce21a1ae9af39fb75901a206b Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 22 Nov 2018 10:34:57 +0100 Subject: [PATCH] iprep: small cleanups --- src/reputation.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/reputation.c b/src/reputation.c index 58de88c535..280770cedf 100644 --- a/src/reputation.c +++ b/src/reputation.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2007-2013 Open Information Security Foundation +/* Copyright (C) 2007-2018 Open Information Security Foundation * * You can copy, redistribute or modify this Program under the terms of * the GNU General Public License version 2 as published by the Free @@ -265,7 +265,7 @@ static int SRepCatSplitLine(char *line, uint8_t *cat, char *shortname, size_t sh /** * \retval 0 valid * \retval 1 header - * \retval -1 boo + * \retval -1 bad line */ static int SRepSplitLine(SRepCIDRTree *cidr_ctx, char *line, Address *ip, uint8_t *cat, uint8_t *value) { @@ -553,7 +553,7 @@ static char *SRepCompleteFilePath(char *file) strlcat(path, "/", path_len); #endif strlcat(path, file, path_len); - } else { + } else { path = SCStrdup(file); if (unlikely(path == NULL)) return NULL; -- 2.47.2