summaryrefslogtreecommitdiff
path: root/lib/libsndio/mio_priv.h
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2009-07-26 13:33:31 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2009-07-26 13:33:31 +0000
commitb972436577589cbf5796f477c17c357efe73dc81 (patch)
treeb364bd1423444d694514d70a2f15c04ffd12bc27 /lib/libsndio/mio_priv.h
parentecf01f4c902d6b9198249122d769af3f757c4034 (diff)
use ``sizeof(string) - 1'' rather than ``strlen(string)'' on static
strings. suggested by Thomas Pfaff
Diffstat (limited to 'lib/libsndio/mio_priv.h')
-rw-r--r--lib/libsndio/mio_priv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libsndio/mio_priv.h b/lib/libsndio/mio_priv.h
index e5c76553888..ec217394cc4 100644
--- a/lib/libsndio/mio_priv.h
+++ b/lib/libsndio/mio_priv.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mio_priv.h,v 1.2 2009/07/25 11:15:56 ratchov Exp $ */
+/* $OpenBSD: mio_priv.h,v 1.3 2009/07/26 13:33:30 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -41,7 +41,7 @@
*/
struct mio_hdl {
struct mio_ops *ops;
- unsigned mode; /* MIO_PLAY | MIO_REC */
+ unsigned mode; /* MIO_IN | MIO_OUT */
int nbio; /* true if non-blocking io */
int eof; /* true if error occured */
};