[svn-commits] dvossel: branch dvossel/fixtheworld_phase1_step3 r305605 - /team/dvossel/fixt...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Feb 1 13:28:30 CST 2011


Author: dvossel
Date: Tue Feb  1 13:28:26 2011
New Revision: 305605

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=305605
Log:
addresses reviewboard comments

Modified:
    team/dvossel/fixtheworld_phase1_step3/channels/chan_unistim.c

Modified: team/dvossel/fixtheworld_phase1_step3/channels/chan_unistim.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/fixtheworld_phase1_step3/channels/chan_unistim.c?view=diff&rev=305605&r1=305604&r2=305605
==============================================================================
--- team/dvossel/fixtheworld_phase1_step3/channels/chan_unistim.c (original)
+++ team/dvossel/fixtheworld_phase1_step3/channels/chan_unistim.c Tue Feb  1 13:28:26 2011
@@ -1486,7 +1486,7 @@
 static void unistim_line_copy(struct unistim_line *dst, struct unistim_line *src)
 {
 	struct ast_format_cap *tmp = src->cap;
-	memcpy(src, dst, sizeof(*src)); /* this over writes the cap ptr, so we have to reset it */
+	memcpy(dst, src, sizeof(*dst)); /* this over writes the cap ptr, so we have to reset it */
 	src->cap = tmp;
 	ast_format_cap_copy(src->cap, dst->cap);
 }




More information about the svn-commits mailing list