diff options
author | james <> | 2008-02-13 09:12:21 +0000 |
---|---|---|
committer | james <> | 2008-02-13 09:12:21 +0000 |
commit | 23dc931ca671e938da071d24d8e9b6052e49923a (patch) | |
tree | f60e7ebd00db56a2757479334f4c8742cd6fcc13 /src/ring.c | |
parent | 4d50b220e63c52d412bacebb3e44cc712f2e2804 (diff) | |
download | sympathy-23dc931ca671e938da071d24d8e9b6052e49923a.tar.gz sympathy-23dc931ca671e938da071d24d8e9b6052e49923a.tar.bz2 sympathy-23dc931ca671e938da071d24d8e9b6052e49923a.zip |
*** empty log message ***
Diffstat (limited to 'src/ring.c')
-rw-r--r-- | src/ring.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |