summaryrefslogtreecommitdiffstats
path: root/syslog.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2013-12-10 08:19:11 -0800
committerKaz Kylheku <kaz@kylheku.com>2013-12-10 08:19:11 -0800
commit7bccff13730eb4997a570532c6e190e7bc7ea9f2 (patch)
tree20e897ab8a6239ebcaf348127b01ee2ca566add7 /syslog.c
parentb698bb706067d911c62385b477684efea6aa983a (diff)
downloadtxr-7bccff13730eb4997a570532c6e190e7bc7ea9f2.tar.gz
txr-7bccff13730eb4997a570532c6e190e7bc7ea9f2.tar.bz2
txr-7bccff13730eb4997a570532c6e190e7bc7ea9f2.zip
* eval.c (eval_init): Register streamp, real_time_stream_p,
stream_get_prop and stream_set_prop as intrinsics. * stream.c (stream_get_prop): New function. * stream.h (stream_get_prop): Declared. * syslog.c (syslog_get_prop): Bugfix: check for prio_k not real_time_k. * txr.1: Updated.
Diffstat (limited to 'syslog.c')
-rw-r--r--syslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/syslog.c b/syslog.c
index 3ae0d137..0bcd1cd3 100644
--- a/syslog.c
+++ b/syslog.c
@@ -178,7 +178,7 @@ static val syslog_put_byte(val stream, int ch)
static val syslog_get_prop(val stream, val ind)
{
- if (ind == real_time_k) {
+ if (ind == prio_k) {
val cell = (val) stream->co.handle;
return car(cell);
}