aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2019-02-26 00:42:54 +0000
committerWerner Koch <[email protected]>2019-03-07 12:01:34 +0000
commit1318d1e2d50989c66f496ede906a846859f0cf9f (patch)
tree682dc2b54cb6dfdfed142a1215aeff8ea4ab499f /agent/command.c
parentdirmngr: Add CSRF protection exception for protonmail. (diff)
downloadgnupg-1318d1e2d50989c66f496ede906a846859f0cf9f.tar.gz
gnupg-1318d1e2d50989c66f496ede906a846859f0cf9f.zip
libdns: Avoid using compound literals.
* dirmngr/dns.c (dns_inet_pton, dns_so_tcp_keep): Use automatic variables. (dns_poll, dns_send_nopipe): Likewise, adding const qualifier. -- Compound literals is a feature of C99. Because we only use C90 plus some limited features, in the project, it's better to avoid it. Besides, we make sure when it's read-only. Signed-off-by: NIIBE Yutaka <[email protected]> (cherry picked from commit 1c405499388fd5bed0968ab5c6c5d1b3373537b9)
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions