Make compile again.
authorRichard Mudgett <rmudgett@digium.com>
Wed, 14 Jul 2010 16:39:18 +0000 (16:39 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 14 Jul 2010 16:39:18 +0000 (16:39 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@276391 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/snmp/agent.c

index 439bd17..c18c3e5 100644 (file)
@@ -459,7 +459,7 @@ static u_char *ast_var_channels_table(struct variable *vp, oid *name, size_t *le
                }
                break;
        case ASTCHANCIDPRES:
-               long_ret = ast_party_id_presentation(chan->caller.id);
+               long_ret = ast_party_id_presentation(&chan->caller.id);
                ret = (u_char *)&long_ret;
                break;
        case ASTCHANCIDANI2: