summaryrefslogtreecommitdiffstats
path: root/database
diff options
context:
space:
mode:
authorDario Minnucci <midget@debian.org>2010-12-01 00:18:53 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2010-12-01 00:18:53 +0100
commit35d84a44f2bec3754fca0604d8bb6a3a598b8441 (patch)
tree1cd2f8ec8f418b42cc0d8d148be5b53abdb6b1c0 /database
parent05b5459c5b4451a457920449b6d1756adf6ca4dc (diff)
downloadeurephia-35d84a44f2bec3754fca0604d8bb6a3a598b8441.tar.gz
eurephia-35d84a44f2bec3754fca0604d8bb6a3a598b8441.tar.xz
eurephia-35d84a44f2bec3754fca0604d8bb6a3a598b8441.zip
Quick fix for typo 'Quering'
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Diffstat (limited to 'database')
-rw-r--r--database/eurephiadb-driver_template.c4
-rw-r--r--database/sqlite/administration/lastlog.c2
-rw-r--r--database/sqlite/administration/useraccount.c6
-rw-r--r--database/sqlite/edb-sqlite.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/database/eurephiadb-driver_template.c b/database/eurephiadb-driver_template.c
index 5b0008b..695e5c5 100644
--- a/database/eurephiadb-driver_template.c
+++ b/database/eurephiadb-driver_template.c
@@ -389,7 +389,7 @@ int eDBblacklist_check(eurephiaCTX *ctx, const int type, const char *val)
// Update attempt information
update_attempts(ctx, blid);
} else {
- eurephia_log(ctx, LOG_FATAL, 0, "Quering openvpn_blacklist for blacklisted %s failed",
+ eurephia_log(ctx, LOG_FATAL, 0, "Querying openvpn_blacklist for blacklisted %s failed",
eDBattempt_types[type].descr);
}
@@ -427,7 +427,7 @@ int eDBblacklist_check(eurephiaCTX *ctx, const int type, const char *val)
free_nullsafe(atpid);
} else {
eurephia_log(ctx, LOG_CRITICAL, 0,
- "Quering openvpn_attempts for blacklisted %s failed",
+ "Querying openvpn_attempts for blacklisted %s failed",
eDBattempt_types[type].descr);
}
free_nullsafe(atpr);
diff --git a/database/sqlite/administration/lastlog.c b/database/sqlite/administration/lastlog.c
index 60856a7..f700cee 100644
--- a/database/sqlite/administration/lastlog.c
+++ b/database/sqlite/administration/lastlog.c
@@ -107,7 +107,7 @@ xmlDoc *eDBadminGetLastlog(eurephiaCTX *ctx, xmlDoc *srch_xml, const char *sortk
eDBfreeMapping(fmap);
xmlFreeDoc(doc);
if( res == NULL ) {
- eurephia_log(ctx, LOG_ERROR, 0, "Quering the lastlog failed");
+ eurephia_log(ctx, LOG_ERROR, 0, "Querying the lastlog failed");
return NULL;
}
eurephiaXML_CreateDoc(ctx, 1, "lastlog", &doc, &lastl);
diff --git a/database/sqlite/administration/useraccount.c b/database/sqlite/administration/useraccount.c
index c33abcd..0571d98 100644
--- a/database/sqlite/administration/useraccount.c
+++ b/database/sqlite/administration/useraccount.c
@@ -239,7 +239,7 @@ static xmlDoc *useracc_view(eurephiaCTX *ctx, unsigned int infoType,
" WHERE uid = '%i' ORDER BY login, logout", uid);
if( qres == NULL ) {
- eurephia_log(ctx, LOG_ERROR, 0, "Quering the lastlog failed");
+ eurephia_log(ctx, LOG_ERROR, 0, "Querying the lastlog failed");
xmlFreeDoc(doc);
return eurephiaXML_ResultMsg(ctx, exmlERROR, NULL,
"Failed to query the lastlog");
@@ -304,7 +304,7 @@ static xmlDoc *useracc_view(eurephiaCTX *ctx, unsigned int infoType,
" WHERE username = '%q'", username);
if( (qres == NULL) || (sqlite_get_numtuples(qres) > 1) ) {
- eurephia_log(ctx, LOG_ERROR, 0, "Quering for login attempts failed");
+ eurephia_log(ctx, LOG_ERROR, 0, "Querying for login attempts failed");
sqlite_free_results(qres);
xmlFreeDoc(doc);
return eurephiaXML_ResultMsg(ctx, exmlERROR, NULL,
@@ -332,7 +332,7 @@ static xmlDoc *useracc_view(eurephiaCTX *ctx, unsigned int infoType,
" WHERE username = '%q'", username);
if( (qres == NULL) || (sqlite_get_numtuples(qres) > 1) ) {
- eurephia_log(ctx, LOG_ERROR, 0, "Quering blacklist log failed");
+ eurephia_log(ctx, LOG_ERROR, 0, "Querying blacklist log failed");
sqlite_free_results(qres);
xmlFreeDoc(doc);
return eurephiaXML_ResultMsg(ctx, exmlERROR, NULL,
diff --git a/database/sqlite/edb-sqlite.c b/database/sqlite/edb-sqlite.c
index f1007d3..3860e63 100644
--- a/database/sqlite/edb-sqlite.c
+++ b/database/sqlite/edb-sqlite.c
@@ -426,7 +426,7 @@ int eDBblacklist_check(eurephiaCTX *ctx, const int type, const char *val)
// Update attempt information
update_attempts(ctx, blid);
} else {
- eurephia_log(ctx, LOG_FATAL, 0, "Quering openvpn_blacklist for blacklisted %s failed",
+ eurephia_log(ctx, LOG_FATAL, 0, "Querying openvpn_blacklist for blacklisted %s failed",
eDBattempt_types[type].descr);
}
@@ -462,7 +462,7 @@ int eDBblacklist_check(eurephiaCTX *ctx, const int type, const char *val)
}
free_nullsafe(ctx, atpid);
} else {
- eurephia_log(ctx, LOG_CRITICAL, 0, "Quering openvpn_attempts for blacklisted %s failed",
+ eurephia_log(ctx, LOG_CRITICAL, 0, "Querying openvpn_attempts for blacklisted %s failed",
eDBattempt_types[type].descr);
}
free_nullsafe(ctx, atpr);