From b34004c1cb9d26950bc75f4330c44fb8f3fecd21 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 8 Dec 2023 21:52:34 +0000 Subject: [PATCH] bug fixes --- DataStorage/Database/Connection/SQLiteConnection.h | 2 +- Utils/StringUtils.h | 2 +- Utils/WebUtils.h | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DataStorage/Database/Connection/SQLiteConnection.h b/DataStorage/Database/Connection/SQLiteConnection.h index a549800..a601c3d 100755 --- a/DataStorage/Database/Connection/SQLiteConnection.h +++ b/DataStorage/Database/Connection/SQLiteConnection.h @@ -82,7 +82,7 @@ namespace DataStorage if (paramValues != NULL) { status = sqlite3_prepare_v2((sqlite3 *) this->con, stmt, -1, &res, 0); - // @todo: sqlite3_bind_int(res, 1, 3); + // @todo sqlite3_bind_int(res, 1, 3); } else { status = sqlite3_prepare_v2((sqlite3 *) this->con, stmt, -1, &res, 0); } diff --git a/Utils/StringUtils.h b/Utils/StringUtils.h index 920e9c3..07a55f6 100755 --- a/Utils/StringUtils.h +++ b/Utils/StringUtils.h @@ -247,7 +247,7 @@ namespace Utils free(dm); - // @todo: do we even need to realloc? + // @todo do we even need to realloc? char **diffValuesT = (char **) realloc(diffValues, diffIndex * sizeof(char *)); if (!diffValuesT) { free(diffValues); diff --git a/Utils/WebUtils.h b/Utils/WebUtils.h index 4f5f8bc..25f2d72 100755 --- a/Utils/WebUtils.h +++ b/Utils/WebUtils.h @@ -182,7 +182,7 @@ namespace Utils if(true) { xmlChar *orig = href; - // @todo: consider base= tag which has an impact on relative links + // @todo consider base= tag which has an impact on relative links href = xmlBuildURI(href, (xmlChar *) url); xmlFree(orig); } @@ -259,10 +259,10 @@ namespace Utils char *ctype; curl_easy_getinfo(e, CURLINFO_CONTENT_TYPE, &ctype); - // @todo: save file (how to handle base resources, either pass base url or save based on url?) + // @todo save file (how to handle base resources, either pass base url or save based on url?) if (ctype != NULL && strlen(ctype) > 10 && strstr(ctype, "text/html")) { - // @todo: check limits + // @todo check limits left += follow_links(cm, page, url, &left); } }