aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_strings.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-02-24 06:39:27 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-02-24 06:39:27 +0000
commit3d2c830509985738539bb7eea8d5005823a8e907 (patch)
tree8d2acd1e6b18175f2742115ad9c7a07a92d189f1 /funcs/func_strings.c
parent95fcdb7c5c685dd5279f4422cdbe23778274259a (diff)
Remove unnecessary warning message, make a couple of formatting tweaks
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@248534 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_strings.c')
-rw-r--r--funcs/func_strings.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/funcs/func_strings.c b/funcs/func_strings.c
index eb78632de..6aa60ab41 100644
--- a/funcs/func_strings.c
+++ b/funcs/func_strings.c
@@ -1056,14 +1056,13 @@ static int csv_quote(struct ast_channel *chan, const char *cmd, char *data, char
{
char *bufptr = buf, *dataptr = data;
- if (len < 3){ /* at least two for quotes and one for binary zero */
+ if (len < 3) { /* at least two for quotes and one for binary zero */
ast_log(LOG_ERROR, "Not enough buffer");
return -1;
}
if (ast_strlen_zero(data)) {
- ast_log(LOG_WARNING, "No argument specified!\n");
- ast_copy_string(buf,"\"\"",len);
+ ast_copy_string(buf, "\"\"", len);
return 0;
}