summaryrefslogtreecommitdiff
path: root/str_array.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2011-12-31 21:05:39 +0200
committerArnold D. Robbins <arnold@skeeve.com>2011-12-31 21:05:39 +0200
commitdc5f240cf358edaf8191f5a36f9066b0f0817462 (patch)
treea185cb4126077dc8cd843cdba77d8a5bba1d9fdc /str_array.c
parentccb220159bbbc45aac0572c7ca1d3f0f2247d1f5 (diff)
parenta89bd16ff78c74513461af3f676d87d4eb9cfd3c (diff)
downloadgawk-dc5f240cf358edaf8191f5a36f9066b0f0817462.tar.gz
Merge branch 'gawk-4.0-stable', minor fixes after exe merge.
Diffstat (limited to 'str_array.c')
-rw-r--r--str_array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/str_array.c b/str_array.c
index 0b17796c..7ce617ed 100644
--- a/str_array.c
+++ b/str_array.c
@@ -684,9 +684,9 @@ str_option(NODE *opt, NODE *val)
tmp = force_string(opt);
(void) force_number(val);
- if (STREQ(tmp->stptr, "STR_CHAIN_MAX")) {
+ if (strcmp(tmp->stptr, "STR_CHAIN_MAX") == 0) {
newval = (int) val->numbr;
- if (newval > 0)
+ if (newval > 0)
STR_CHAIN_MAX = newval;
} else
ret = NULL;