diff options
Diffstat (limited to 'database/sqlite/administration')
-rw-r--r-- | database/sqlite/administration/lastlog.c | 2 | ||||
-rw-r--r-- | database/sqlite/administration/useraccount.c | 6 |
2 files changed, 4 insertions, 4 deletions
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, |