aboutsummaryrefslogtreecommitdiffstats
path: root/agent/call-scd.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2008-10-17 19:18:46 +0000
committerWerner Koch <[email protected]>2008-10-17 19:18:46 +0000
commit0698c5169fca5b7969e6b0fa4de22b693e7fd2e4 (patch)
treeebfa56dde985a7925e9dc6ea60bda96569106718 /agent/call-scd.c
parentReset the context lock flag after a failed dirmngr start which may happend (diff)
downloadgnupg-0698c5169fca5b7969e6b0fa4de22b693e7fd2e4.tar.gz
gnupg-0698c5169fca5b7969e6b0fa4de22b693e7fd2e4.zip
Use more warning options with modern GCCs.
Other minor changes.
Diffstat (limited to 'agent/call-scd.c')
-rw-r--r--agent/call-scd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/agent/call-scd.c b/agent/call-scd.c
index 65483e55d..fce132004 100644
--- a/agent/call-scd.c
+++ b/agent/call-scd.c
@@ -381,10 +381,8 @@ start_scd (ctrl_t ctrl)
char buf[100];
#ifdef HAVE_W32_SYSTEM
- /* Use estream snprintf due to a bug in mingw32 related to the l
- modifier. */
- estream_snprintf (buf, sizeof buf, "OPTION event-signal=%lx",
- (unsigned long)get_agent_scd_notify_event ());
+ snprintf (buf, sizeof buf, "OPTION event-signal=%lx",
+ (unsigned long)get_agent_scd_notify_event ());
#else
snprintf (buf, sizeof buf, "OPTION event-signal=%d", SIGUSR2);
#endif