aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_followme.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-06 20:45:26 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-06 20:45:26 +0000
commit140fa02b1c3e77f8e21c1a897ec373f2cdddc1cf (patch)
tree57284f427ae44a1b651c5769e780979bd0334826 /apps/app_followme.c
parent409c0a25a49edc59d7159e1c8fa15a6139cc7fe4 (diff)
use sizeof to get the size of a buffer
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32701 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_followme.c')
-rw-r--r--apps/app_followme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_followme.c b/apps/app_followme.c
index 9eb4ae266..bd14b2c8f 100644
--- a/apps/app_followme.c
+++ b/apps/app_followme.c
@@ -438,7 +438,7 @@ static void clear_caller(struct findme_user *tmpuser)
}
if (outbound->cdr) {
char tmp[256];
- snprintf(tmp, 256, "%s/%s", "Local", tmpuser->dialarg);
+ snprintf(tmp, sizeof(tmp), "%s/%s", "Local", tmpuser->dialarg);
ast_cdr_setapp(outbound->cdr,"FollowMe",tmp);
ast_cdr_update(outbound);
ast_cdr_start(outbound->cdr);