diff options
Diffstat (limited to 'agent')
-rw-r--r-- | agent/ChangeLog | 5 | ||||
-rw-r--r-- | agent/call-scd.c | 6 | ||||
-rw-r--r-- | agent/command.c | 2 |
3 files changed, 8 insertions, 5 deletions
diff --git a/agent/ChangeLog b/agent/ChangeLog index f45c6d7f3..f3f5131d3 100644 --- a/agent/ChangeLog +++ b/agent/ChangeLog @@ -1,3 +1,8 @@ +2008-10-17 Werner Koch <[email protected]> + + * call-scd.c (start_scd) [W32]: Use snprintf again because we now + always use the estream variant. + 2008-10-15 Werner Koch <[email protected]> * call-scd.c (start_scd): Enable assuan loggging if requested. 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 diff --git a/agent/command.c b/agent/command.c index f6bfaa64a..066494101 100644 --- a/agent/command.c +++ b/agent/command.c @@ -80,7 +80,7 @@ static struct putval_item_s *putval_list; -/* To help polling clients, we keep tarck of the number of certain +/* To help polling clients, we keep track of the number of certain events. This structure keeps those counters. The counters are integers and there should be no problem if they are overflowing as callers need to check only whether a counter changed. The actual |