summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6ac7940)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@154926
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
int find_by_mark(struct ast_channel *c) {
const char *tmp;
return (tmp = pbx_builtin_getvar_helper(c, PICKUPMARK)) &&
int find_by_mark(struct ast_channel *c) {
const char *tmp;
return (tmp = pbx_builtin_getvar_helper(c, PICKUPMARK)) &&
- !strcasecmp(tmp, mark) &&
- can_pickup(c);
+ !strcasecmp(tmp, mark) &&
+ can_pickup(c);
}
struct ast_channel *target = ast_channel_search_locked(find_by_mark);
}
struct ast_channel *target = ast_channel_search_locked(find_by_mark);