common: Use strconcat in gnupg_setenv.
authorWerner Koch <wk@gnupg.org>
Tue, 25 Oct 2016 06:59:44 +0000 (08:59 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 25 Oct 2016 06:59:44 +0000 (08:59 +0200)
commit7983f8758703071710c11bf2a255efcd71836b65
tree6c3829ca17d15f86c945cfb683be4eb78d4850af
parent9d6146d6f9870fbfcec15cdc4becaf094d5a90e0
common: Use strconcat in gnupg_setenv.

* common/sysutils.c (gnupg_setenv): Replace malloc+stpcpy by
strconcat.  Indent cpp conditionals.
(gnupg_unsetenv): Indent cpp conditionals.

Signed-off-by: Werner Koch <wk@gnupg.org>
common/sysutils.c