aboutsummaryrefslogtreecommitdiffstats
path: root/g10/build-packet.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-10-18 17:37:41 +0000
committerWerner Koch <[email protected]>2015-10-18 18:08:37 +0000
commite64c805b0c270d859ddf2c35d573110cf25e8d48 (patch)
tree35abc3875ed85b0afdfd8b0ce53b80775c9580b1 /g10/build-packet.c
parentMove http module from common/ to dirmngr/. (diff)
downloadgnupg-e64c805b0c270d859ddf2c35d573110cf25e8d48.tar.gz
gnupg-e64c805b0c270d859ddf2c35d573110cf25e8d48.zip
common: Avoid warning about const char ** assignment.
* common/mkdir_p.c (gnupg_amkdir_p): Also strdup first item. Return an error on malloc failure. (gnupg_mkdir_p): Fix type of dirs and tmp_dirs. -- The code was correct but it inhibits type checking. Instead of casting it seems easier to simply allocate also the the first item in DIRS. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/build-packet.c')
0 files changed, 0 insertions, 0 deletions