Fix regression in entry_to_env()
authorBen Hutchings <ben@decadent.org.uk>
Thu, 28 Jan 2016 22:45:14 +0000 (22:45 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 28 Jan 2016 22:49:54 +0000 (22:49 +0000)
commit1801580e39ceac0d7fec7adef892763c4da56906
tree906bc9ce94e61c1449930a16a980a4def327e7a8
parent78bc7d9c835404ad1b5d2eb26de390bd45e26d2a
Fix regression in entry_to_env()

I broke entry_to_env() by incrementing the wrong variable in commit
a6bbd1d7f5c2 ("Fix potential buffer overflow in entry_to_env").

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
src/script.c