diff --git a/server/modules/filter/cache/cache_storage_api.h b/server/modules/filter/cache/cache_storage_api.h index aa972ce82..43c46eef4 100644 --- a/server/modules/filter/cache/cache_storage_api.h +++ b/server/modules/filter/cache/cache_storage_api.h @@ -136,7 +136,7 @@ typedef struct cache_storage_config_t /** * The maximum size of the storage may may occupy, before it should evict - * some items. A value if 0 means that there is no limit. The caller should + * some items. A value of 0 means that there is no limit. The caller should * specify 0, unless CACHE_STORAGE_CAP_MAX_SIZE is returned at initialization. */ uint64_t max_size; @@ -209,10 +209,10 @@ typedef struct cache_storage_api * @param storage Pointer to a CACHE_STORAGE. * @param key A key generated with get_key. * @param flags Mask of cache_flags_t values. - * @param soft_ttl The soft TTL. A value if CACHE_USE_CONFIG_TTL (-1) indicates + * @param soft_ttl The soft TTL. A value of CACHE_USE_CONFIG_TTL (-1) indicates * that the value specfied in the config, used in the creation, * should be used. - * @param hard_ttl The hard TTL. A value if CACHE_USE_CONFIG_TTL (-1) indicates + * @param hard_ttl The hard TTL. A value of CACHE_USE_CONFIG_TTL (-1) indicates * that the value specfied in the config, used in the creation, * should be used. * @param result Pointer to variable that after a successful return will diff --git a/server/modules/filter/cache/storage.hh b/server/modules/filter/cache/storage.hh index 2cb1be141..a8755e38a 100644 --- a/server/modules/filter/cache/storage.hh +++ b/server/modules/filter/cache/storage.hh @@ -49,10 +49,10 @@ public: * * @param key A key generated with get_key. * @param flags Mask of cache_flags_t values. - * @param soft_ttl The soft TTL. A value if CACHE_USE_CONFIG_TTL (-1) indicates + * @param soft_ttl The soft TTL. A value of CACHE_USE_CONFIG_TTL (-1) indicates * that the value specfied in the config, used in the creation, * should be used. - * @param hard_ttl The hard TTL. A value if CACHE_USE_CONFIG_TTL (-1) indicates + * @param hard_ttl The hard TTL. A value of CACHE_USE_CONFIG_TTL (-1) indicates * that the value specfied in the config, used in the creation, * should be used. * @param ppValue Pointer to variable that after a successful return will