~ubuntu-branches/ubuntu/feisty/syslog-ng/feisty-security

« back to all changes in this revision

Viewing changes to src/main.c

  • Committer: Bazaar Package Importer
  • Author(s): SZALAY Attila
  • Date: 2002-03-04 21:29:11 UTC
  • Revision ID: james.westby@ubuntu.com-20020304212911-40evnqxz6a46kojt
Tags: 1.5.15-1
* New upstream version.
* Doesn't drop connections to the floor on reload. Closes: #129819, #132708

Show diffs side-by-side

added added

removed removed

Lines of Context:
177
177
        s.timeout = backend->configuration->stats_freq;
178
178
        s.backend = backend;
179
179
        r.backend = backend;
180
 
        if (s.timeout != -1)
 
180
        if (s.timeout > 0)
181
181
                io_callout(&backend->super, s.timeout, &s.super);
182
182
 
183
183
        while (io_iter(&backend->super)) {
194
194
                                io_callout_flush(&backend->super);
195
195
 
196
196
                                s.timeout = backend->configuration->stats_freq;
197
 
                                if (s.timeout != -1)
 
197
                                if (s.timeout > 0)
198
198
                                        io_callout(&backend->super, s.timeout, &s.super);
199
199
                                
200
200
                                r.state = 0;