diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2009-10-22 22:26:50 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2009-10-22 22:26:50 +0000 |
commit | 242e7a97e0a5e1832cfc1236a547f4abec4a03af (patch) | |
tree | 1c95ce9ff31ba1b63cbd2b9404da85200b4871ed /lib/libsndio | |
parent | 11f0cd45c70de7870c6660666a1b27b5f0a18399 (diff) |
set protocol version number for midi too. Fixes aucat refusing
control connections.
Diffstat (limited to 'lib/libsndio')
-rw-r--r-- | lib/libsndio/mio_thru.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libsndio/mio_thru.c b/lib/libsndio/mio_thru.c index a6d494d9377..eb5dd81bdcc 100644 --- a/lib/libsndio/mio_thru.c +++ b/lib/libsndio/mio_thru.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mio_thru.c,v 1.5 2009/08/21 16:48:03 ratchov Exp $ */ +/* $OpenBSD: mio_thru.c,v 1.6 2009/10/22 22:26:49 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -95,6 +95,7 @@ thru_open(const char *str, char *sock, unsigned mode, int nbio) */ AMSG_INIT(&msg); msg.cmd = AMSG_HELLO; + msg.u.hello.version = AMSG_VERSION; msg.u.hello.proto = 0; if (mode & MIO_IN) msg.u.hello.proto |= AMSG_MIDIIN; |