summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid M. Lee <dlee@respoke.io>2015-11-24 13:54:54 -0600
committerDavid M. Lee <dlee@respoke.io>2015-11-24 13:54:54 -0600
commit59881fbb9988be2f4e07ca750f45a404e79cb115 (patch)
tree09eec6e3f8dbf3b4793671f1b7e7b82db0856000 /include
parent3f85a1be5aff186e56fda85ae293e3aadc71d20a (diff)
Fixed some typos
Fixes some minor typos in the CHANGES file, plus an embarrasing typo in the StatsD API. Change-Id: I9ca4858c64a4a07d2643b81baa64baebb27a4eb7
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/statsd.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/asterisk/statsd.h b/include/asterisk/statsd.h
index c4ecce8f6..4cbd213ad 100644
--- a/include/asterisk/statsd.h
+++ b/include/asterisk/statsd.h
@@ -29,7 +29,12 @@
#include "asterisk/optional_api.h"
/*! An instantaneous measurement of a value. */
-#define AST_STATSD_GUAGE "g"
+#define AST_STATSD_GAUGE "g"
+/*!
+ * Embarrassingly, gauge was misspelled for quite some time.
+ * \deprecated You should spell gauge correctly.
+ */
+#define AST_STATSD_GUAGE AST_STATSD_GAUGE
/*! A change in a value. */
#define AST_STATSD_COUNTER "c"
/*! Measure of milliseconds. */
@@ -71,7 +76,7 @@ AST_OPTIONAL_API(void, ast_statsd_log_string, (const char *metric_name,
*
* Example Usage:
* \code
- * ast_statsd_log_string_va(AST_STATSD_GUAGE, "+1", 1.0, "endpoints.states.%s", state_name);
+ * ast_statsd_log_string_va(AST_STATSD_GAUGE, "+1", 1.0, "endpoints.states.%s", state_name);
* \endcode
*/
AST_OPTIONAL_API_ATTR(void, format(printf, 1, 5), ast_statsd_log_string_va,