diff --git a/binsrc/virtuoso/viconfig.c b/binsrc/virtuoso/viconfig.c index 6634e25783..fd63cc9292 100644 --- a/binsrc/virtuoso/viconfig.c +++ b/binsrc/virtuoso/viconfig.c @@ -1342,7 +1342,7 @@ cfg_setup (void) { v32 = INT32_MAX; if (cfg_getsize (pconfig, section, sd->sd_name, &v) != -1 || - cfg_getlong (pconfig, section, sd->sd_name, &v32) != -1) /* this is for cases of negative flags or zero */ + cfg_getlong (pconfig, section, sd->sd_name, &v32) != -1) /* this is for cases of zero or negative flags */ { if (v32 != INT32_MAX) v = v32; diff --git a/libsrc/Wi/extent.c b/libsrc/Wi/extent.c index 15a0778253..98f0816834 100644 --- a/libsrc/Wi/extent.c +++ b/libsrc/Wi/extent.c @@ -1520,7 +1520,7 @@ em_compact (extent_map_t * em, int free_em) page_set_checksum_init ((db_buf_t) array); if (EXT_INDEX == EXT_TYPE (ext)) { - /* when dropping a column extent map in a drop index, cpt remaps are possible, so if any, drop them. The remap pagge is dropped anyway as part of the em */ + /* when dropping a column extent map in a drop index, cpt remaps are possible, so drop any that exist. The remap page is dropped anyway as part of the em */ dp_addr_t dp2; for (dp2 = dp; dp2 < dp + 32; dp2++) remhash (DP_ADDR2VOID (dp2), em->em_dbs->dbs_cpt_remap); diff --git a/libsrc/Wi/http.c b/libsrc/Wi/http.c index 901d04029f..0f4261f162 100644 --- a/libsrc/Wi/http.c +++ b/libsrc/Wi/http.c @@ -8842,7 +8842,7 @@ http_map_fill_cors_allow_headers (caddr_t option_value) } if (NULL == ht) ht = id_strcase_hash_create (7); - if (h[0] != '!' || 0 == stricmp (h, "!ALL")) /* expilicitly added header, or all custom disabled */ + if (h[0] != '!' || 0 == stricmp (h, "!ALL")) /* explicitly added header, or all custom disabled */ id_hash_set (ht, (caddr_t) &h, (caddr_t) &one); else /* explicitly denied header */ { diff --git a/libsrc/Wi/srvstat.c b/libsrc/Wi/srvstat.c index 07889b40a5..ab60178a93 100644 --- a/libsrc/Wi/srvstat.c +++ b/libsrc/Wi/srvstat.c @@ -2019,9 +2019,9 @@ stat_desc_t dbf_descs [] = /* - * the following are ptrs of protected system wide params, once are set to a value greater than zero - * cannot be changed until server is running, also if they written in DB cfg page, - * cannot be changed even after server restart. + * the following are ptrs of protected system wide params: once they are set to a value greater than zero, + * they cannot be changed while server is running; also, if they are written in DB cfg page, + * they cannot be changed even after server restart. */ static void * dbf_protected_params[] = { diff --git a/libsrc/util/ncfg.c b/libsrc/util/ncfg.c index efcb4674a8..f47682028e 100644 --- a/libsrc/util/ncfg.c +++ b/libsrc/util/ncfg.c @@ -167,7 +167,7 @@ _cfg_freeimage (PCONFIG pconfig) /* * Partially re-initialize struct * - * Dont reset the fileName and mtx fields + * Don't reset the fileName and mtx fields */ pconfig->image = NULL; pconfig->entries = NULL;