summaryrefslogtreecommitdiff
path: root/src/libexecline/el_vardupl.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-03-08 11:10:07 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-03-08 11:10:07 +0000
commite5d4b64f13683c30ccdd333260febd57d2cdc2d7 (patch)
tree98ddb6b9b1b1812ae1d8ec2f418016b56e4ffcfd /src/libexecline/el_vardupl.c
parent5d0fa4b94d993a7a292554c7cce61be355e65b75 (diff)
downloadexecline-e5d4b64f13683c30ccdd333260febd57d2cdc2d7.tar.xz
Adapt to skalibs 2.5.0.0 API
Diffstat (limited to 'src/libexecline/el_vardupl.c')
-rw-r--r--src/libexecline/el_vardupl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexecline/el_vardupl.c b/src/libexecline/el_vardupl.c
index 279e79d..9efd586 100644
--- a/src/libexecline/el_vardupl.c
+++ b/src/libexecline/el_vardupl.c
@@ -6,7 +6,7 @@
int el_vardupl (char const *key, char const *s, size_t len)
{
- register size_t i = 0 ;
+ size_t i = 0 ;
for (; i < len ; i += str_len(s + i) + 1)
if (!str_diff(key, s + i)) return 1 ;
return 0 ;