diff --git a/apps/app_followme.c b/apps/app_followme.c index bd14b2c8f1259092072a1391046a55f66165868c..1172b8dd7c1535ee88de6ab20d8d0bbb24728e6a 100644 --- a/apps/app_followme.c +++ b/apps/app_followme.c @@ -843,8 +843,8 @@ static void findmeexec(struct fm_args *tpargs) if (outbound->cdr) { char tmp[256]; ast_cdr_init(outbound->cdr, outbound); - snprintf(tmp, 256, "%s/%s", "Local", dialarg); - ast_cdr_setapp(outbound->cdr,"FollowMe",tmp); + snprintf(tmp, sizeof(tmp), "%s/%s", "Local", dialarg); + ast_cdr_setapp(outbound->cdr, "FollowMe", tmp); ast_cdr_update(outbound); ast_cdr_start(outbound->cdr); ast_cdr_end(outbound->cdr);