aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-07-06 14:04:30 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-07-06 14:04:30 +0000
commit26f9f60461406606ff097b36d567abff11e4612b (patch)
treecf22a9c2d60939d21eefc416624f01089436abea
parent2f9880bb3253694bf4aa339485bda706ff5fd1ed (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@37170 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--funcs/func_db.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/funcs/func_db.c b/funcs/func_db.c
index bc135a6b3..58f9987be 100644
--- a/funcs/func_db.c
+++ b/funcs/func_db.c
@@ -108,14 +108,14 @@ static
#endif
struct ast_custom_function db_function = {
.name = "DB",
- .synopsis = "Read or Write from/to the Asterisk database",
+ .synopsis = "Read from or write to the Asterisk database",
.syntax = "DB(<family>/<key>)",
- .desc = "This function will read or write a value from/to the Asterisk database.\n"
- "DB(...) will read a value from the database, while DB(...)=value\n"
- "will write a value to the database. On a read, this function\n"
- "returns the value from the datase, or NULL if it does not exist.\n"
- "On a write, this function will always return NULL. Reading a database value\n"
- "will also set the variable DB_RESULT.\n",
+ .desc =
+"This function will read from or write a value to the Asterisk database. On a\n"
+"read, this function returns the corresponding value from the database, or blank\n"
+"if it does not exist. Reading a database value will also set the variable\n"
+"DB_RESULT. If you wish to find out if an entry exists, use the DB_EXISTS\n"
+"function.\n",
.read = function_db_read,
.write = function_db_write,
};