MXS-1475 Fix typos

This commit is contained in:
Johan Wikman
2018-03-16 10:23:42 +02:00
parent 749f43a70e
commit 3331eb9eb6
2 changed files with 5 additions and 5 deletions

View File

@ -136,7 +136,7 @@ typedef struct cache_storage_config_t
/** /**
* The maximum size of the storage may may occupy, before it should evict * 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. * specify 0, unless CACHE_STORAGE_CAP_MAX_SIZE is returned at initialization.
*/ */
uint64_t max_size; uint64_t max_size;
@ -209,10 +209,10 @@ typedef struct cache_storage_api
* @param storage Pointer to a CACHE_STORAGE. * @param storage Pointer to a CACHE_STORAGE.
* @param key A key generated with get_key. * @param key A key generated with get_key.
* @param flags Mask of cache_flags_t values. * @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, * that the value specfied in the config, used in the creation,
* should be used. * 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, * that the value specfied in the config, used in the creation,
* should be used. * should be used.
* @param result Pointer to variable that after a successful return will * @param result Pointer to variable that after a successful return will

View File

@ -49,10 +49,10 @@ public:
* *
* @param key A key generated with get_key. * @param key A key generated with get_key.
* @param flags Mask of cache_flags_t values. * @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, * that the value specfied in the config, used in the creation,
* should be used. * 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, * that the value specfied in the config, used in the creation,
* should be used. * should be used.
* @param ppValue Pointer to variable that after a successful return will * @param ppValue Pointer to variable that after a successful return will