Commit a31e5798 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Oups: s/getsockname/getpeername/

parent a9b61584
......@@ -696,7 +696,7 @@ char *SDPGenerate( const sout_stream_t *p_stream, const char *rtsp_url )
/* Oh boy, this is really ugly! (+ race condition on lock_es) */
dstlen = sizeof( dst );
getsockname( p_sys->es[0]->sinkv[0].rtp_fd, (struct sockaddr *)&dst,
getpeername( p_sys->es[0]->sinkv[0].rtp_fd, (struct sockaddr *)&dst,
&dstlen );
}
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment