From bb5824c1604a329a33e3e920655d1f2d8d5354b3 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 18 May 2007 18:20:27 +0000 Subject: [PATCH] update git-svn-id: http://svn.openzap.org/svn/openzap/trunk@33 a93c3328-9c30-0410-af19-c9cd2b2d52af --- libs/openzap/src/openzap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/openzap/src/openzap.c b/libs/openzap/src/openzap.c index 58f881f356..c82f6f7608 100644 --- a/libs/openzap/src/openzap.c +++ b/libs/openzap/src/openzap.c @@ -206,7 +206,7 @@ zap_status_t zap_channel_open_any(const char *name, unsigned span_id, zap_direct span_max = zint->span_index; } - if (direction == TOP_DOWN) { + if (direction == ZAP_TOP_DOWN) { j = 1; } else { j = span_max;