[zaptel-commits] kpfleming: branch mogorman/zaptel-1.2-transcoder r2025 - /team/mogorman/zapte...

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Tue Jan 30 13:27:21 MST 2007


Author: kpfleming
Date: Tue Jan 30 14:27:20 2007
New Revision: 2025

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2025
Log:
build codec_test properly
ensure that when moving cmdq entries from pending to free we reinitialize the list_head fields

Modified:
    team/mogorman/zaptel-1.2-transcoder/wctc4xxp/Makefile
    team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c

Modified: team/mogorman/zaptel-1.2-transcoder/wctc4xxp/Makefile
URL: http://svn.digium.com/view/zaptel/team/mogorman/zaptel-1.2-transcoder/wctc4xxp/Makefile?view=diff&rev=2025&r1=2024&r2=2025
==============================================================================
--- team/mogorman/zaptel-1.2-transcoder/wctc4xxp/Makefile (original)
+++ team/mogorman/zaptel-1.2-transcoder/wctc4xxp/Makefile Tue Jan 30 14:27:20 2007
@@ -7,4 +7,4 @@
 tests: codec_test
 
 codec_test: codec_test.c ../zaptel.h
-	$(CC) -o $@ -c $< $(CFLAGS)
+	$(CC) -o $@ $< $(CFLAGS)

Modified: team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c
URL: http://svn.digium.com/view/zaptel/team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c?view=diff&rev=2025&r1=2024&r2=2025
==============================================================================
--- team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c (original)
+++ team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c Tue Jan 30 14:27:20 2007
@@ -531,7 +531,7 @@
 
 	/* pop the first entry off the list */
 	cmdq = list_entry(wc->pending_cmdq.next, struct cmdq, list);
-	list_del(&cmdq->list);
+	list_del_init(&cmdq->list);
 
 	__transmit_one(wc, cmdq->cmd, cmdq->cmdlen);
 



More information about the zaptel-commits mailing list