shithub: sox

Download patch

ref: 7a41ebe99da12b58622df6112624669a013e7659
parent: 1ab655ae05210ce2681cf48a1d7265876b653440
author: rrt <rrt>
date: Wed Dec 13 09:51:09 EST 2006

Fix typos in last commit.

--- a/src/libgsm/gsm_create.c
+++ b/src/libgsm/gsm_create.c
@@ -13,7 +13,7 @@
 
 gsm gsm_create ()
 {
-	gsm = (gsm)calloc(sizeof(struct gsm_state));
+	gsm r = (gsm)calloc(1, sizeof(struct gsm_state));
 
         if (r)
           r->nrp = 40;