From 35bd9a63d1ea3763f3d7e1ec0ab9a8683bf28ce5 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Wed, 17 Aug 2022 21:51:37 +0100 Subject: [PATCH] [skip ci] a couple of spelling changes Signed-off-by: Adam Warner --- src/api/api.c | 2 +- src/database/common.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/api.c b/src/api/api.c index 32a270a0..1c2a7265 100644 --- a/src/api/api.c +++ b/src/api/api.c @@ -1467,7 +1467,7 @@ static bool getDefaultInterface(char iface[IF_NAMESIZE], in_addr_t *gw) if(sscanf(buf, "%s %lx %lx %x %*i %*i %i", iface_r, &dest_r, &gw_r, &flags, &metric) != 5) continue; - // Only anaylze routes which are UP and whose + // Only analyze routes which are UP and whose // destinations are a gateway if(!(flags & RTF_UP) || !(flags & RTF_GATEWAY)) continue; diff --git a/src/database/common.h b/src/database/common.h index eda311bf..bacc5016 100644 --- a/src/database/common.h +++ b/src/database/common.h @@ -48,7 +48,7 @@ extern long int lastdbindex; extern bool DBdeleteoldqueries; // Return if FTL's database is known to be broken -// We abort execution of all database-related activitites in this case +// We abort execution of all database-related activities in this case bool FTLDBerror(void) __attribute__ ((pure)); // Check SQLite3 non-success return codes for possible database corruption