=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/aucat/Attic/sock.c,v retrieving revision 1.52 retrieving revision 1.53 diff -u -r1.52 -r1.53 --- src/usr.bin/aucat/Attic/sock.c 2010/10/21 19:10:52 1.52 +++ src/usr.bin/aucat/Attic/sock.c 2010/11/04 17:55:28 1.53 @@ -1,4 +1,4 @@ -/* $OpenBSD: sock.c,v 1.52 2010/10/21 19:10:52 ratchov Exp $ */ +/* $OpenBSD: sock.c,v 1.53 2010/11/04 17:55:28 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov * @@ -1326,8 +1326,8 @@ (f->opt->rpar.cmax - f->opt->rpar.cmin + 1) : 0; m->u.cap.rchan = (f->opt->mode & (MODE_PLAY | MODE_REC)) ? (f->opt->wpar.cmax - f->opt->wpar.cmin + 1) : 0; - m->u.cap.bits = sizeof(short) * 8; - m->u.cap.bps = sizeof(short); + m->u.cap.bits = ADATA_BITS; + m->u.cap.bps = sizeof(adata_t); f->rstate = SOCK_RRET; f->rtodo = sizeof(struct amsg); break;