diff options
author | Tim Moore <timoore@redhat.com> | 2009-12-17 17:38:24 +0100 |
---|---|---|
committer | Tim Moore <timoore@redhat.com> | 2009-12-17 17:38:24 +0100 |
commit | 4180475982d87f720897baa6f988a48b4c654ee5 (patch) | |
tree | 1cea49d76f047b8a2eacb022edb1e872238238e4 | |
parent | d5a2bd44d30b45b6829eb27d70ffb6ceaa70c5bd (diff) | |
parent | 101a2bb871dfca3a0435b978f0a66506355d6d68 (diff) | |
download | systemtap-steved-4180475982d87f720897baa6f988a48b4c654ee5.tar.gz systemtap-steved-4180475982d87f720897baa6f988a48b4c654ee5.tar.xz systemtap-steved-4180475982d87f720897baa6f988a48b4c654ee5.zip |
Merge commit 'origin/master'
-rw-r--r-- | translate.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/translate.cxx b/translate.cxx index e6c8cde9..8c624a2f 100644 --- a/translate.cxx +++ b/translate.cxx @@ -1501,7 +1501,7 @@ c_unparser::emit_function (functiondecl* v) // or 0...N (if we're called from another function). Incoming parameters are already // stored in c->locals[c->nesting+1]. See also ::emit_common_header() for more. - o->newline() << "if (unlikely (c->nesting+1 > MAXNESTING)) {"; + o->newline() << "if (unlikely (c->nesting+1 >= MAXNESTING)) {"; o->newline(1) << "c->last_error = \"MAXNESTING exceeded\";"; o->newline() << "return;"; o->newline(-1) << "} else {"; |