diff options
author | Russell Bryant <russell@russellbryant.com> | 2006-05-08 10:08:20 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2006-05-08 10:08:20 +0000 |
commit | a252d794849c53ea2c3932c4c27d5f28fa1dc66d (patch) | |
tree | 6bdefa92fdaed80422042c8ea183461adc5746a5 /pbx.c | |
parent | 4b3832fc87d0650b67816e8a933c8f8c00c1284e (diff) |
remove an XXX comment
- we can't use ast_true here because non-empty strings would no longer be
evaluated as true
document the return values of pbx_checkcondition() in doxygen format
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx.c')
-rw-r--r-- | pbx.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5486,7 +5486,7 @@ int pbx_checkcondition(const char *condition) return 0; else if (*condition >= '0' && *condition <= '9') /* Numbers are evaluated for truth */ return atoi(condition); - else /* Strings are true -- XXX maybe use ast_true() ? */ + else /* Strings are true */ return 1; } |