X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=ortp_send.c;h=19b54d3932897be20067c6b06b608653fafbf911;hb=a2ce091cb5387eb389638dd4aa8487ef2dda310e;hp=aabbb7da09abf953457dfb4915f593eb0f0a6612;hpb=9f07bfb31ea556c41b45cdc3f37b6ccccbc8dca0;p=paraslash.git diff --git a/ortp_send.c b/ortp_send.c index aabbb7da..19b54d39 100644 --- a/ortp_send.c +++ b/ortp_send.c @@ -54,7 +54,6 @@ struct ortp_target { RtpSession *session; }; -static int numtargets; static struct list_head targets; static struct sender *self; @@ -66,7 +65,6 @@ static void ortp_delete_target(struct ortp_target *ot, const char *msg) rtp_session_destroy(ot->session); ot->session = NULL; } - numtargets--; list_del(&ot->node); free(ot); }