aboutsummaryrefslogtreecommitdiffstats
path: root/main/callerid.c
diff options
context:
space:
mode:
authorrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2008-09-09 17:30:52 +0000
committerrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2008-09-09 17:30:52 +0000
commitb1aec97696b025ee1627b1e2eeec23bbcd40c9fe (patch)
treec23f7ea8eff693f4a03a794cf8551caf72ca8ffd /main/callerid.c
parent33e9ce1de9ddcc4f34ef12a92ce9c4c631ee9174 (diff)
Cleaned up comment
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@142181 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/callerid.c')
-rw-r--r--main/callerid.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/main/callerid.c b/main/callerid.c
index 1fcd325ce..6a086adfc 100644
--- a/main/callerid.c
+++ b/main/callerid.c
@@ -994,16 +994,16 @@ int ast_is_shrinkable_phonenumber(const char *exten)
return ast_is_valid_string(exten, "0123456789*#+()-.");
}
-/*! \brief parse string for caller id information
- \return always returns 0, as the code always returns something.
- XXX note that 'name' is not parsed consistently e.g. we have
-
- input location name
- " foo bar " <123> 123 ' foo bar ' (with spaces around)
- " foo bar " NULL 'foo bar' (without spaces around)
- " foo bar <123>" 123 '" foo bar'
- The parsing of leading and trailing space/quotes should be more consistent.
-*/
+/*!
+ * \brief Destructively parse instr for caller id information
+ * \return always returns 0, as the code always returns something.
+ * \note XXX 'name' is not parsed consistently e.g. we have
+ * input location name
+ * " foo bar " <123> 123 ' foo bar ' (with spaces around)
+ * " foo bar " NULL 'foo bar' (without spaces around)
+ * " foo bar <123>" 123 '" foo bar'
+ * The parsing of leading and trailing space/quotes should be more consistent.
+ */
int ast_callerid_parse(char *instr, char **name, char **location)
{
char *ns, *ne, *ls, *le;