chiark / gitweb /
*** empty log message ***
[sympathy.git] / src / ring.c
index f9ef6af861600260236b25e62cf5d413eec8405f..ccd97edc426f2d281e64ce4f46b09688c30a2148 100644 (file)
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
 
 /*
  * $Log$
+ * Revision 1.3  2008/02/13 09:12:21  james
+ * *** empty log message ***
+ *
  * Revision 1.2  2008/02/12 22:36:46  james
  * *** empty log message ***
  *
@@ -62,7 +65,7 @@ Ring *
 ring_new (int n)
 {
   Ring *ret = (Ring *) malloc (sizeof (Ring));
-  ret->buf = (uint8_t *) malloc (n);
+  ret->ring = (uint8_t *) malloc (n);
   ret->size = n;
   ret->wptr = ret->rptr = 0;