summaryrefslogtreecommitdiff
path: root/ucoo/base/proto/proto.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ucoo/base/proto/proto.cc')
-rw-r--r--ucoo/base/proto/proto.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucoo/base/proto/proto.cc b/ucoo/base/proto/proto.cc
index 838a79b..20d87b3 100644
--- a/ucoo/base/proto/proto.cc
+++ b/ucoo/base/proto/proto.cc
@@ -213,7 +213,7 @@ void
Proto::accept_digit (int c)
{
// Test for argument list overflow.
- if (size_ >= UCOO_CONFIG_BASE_PROTO_ARGS_MAX_SIZE)
+ if (size_ >= CONFIG_UCOO_BASE_PROTO_ARGS_MAX_SIZE)
{
handler_.proto_handle (*this, '?', 0, 0);
step_ = IDLE;
@@ -243,7 +243,7 @@ void
Proto::accept_char (int c)
{
// Test for argument list overflow or unwanted char.
- if (size_ >= UCOO_CONFIG_BASE_PROTO_ARGS_MAX_SIZE || !std::isprint (c))
+ if (size_ >= CONFIG_UCOO_BASE_PROTO_ARGS_MAX_SIZE || !std::isprint (c))
{
handler_.proto_handle (*this, '?', 0, 0);
step_ = IDLE;