~ubuntu-branches/ubuntu/natty/nginx/natty

« back to all changes in this revision

Viewing changes to src/event/modules/ngx_devpoll_module.c

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2010-11-28 08:38:27 UTC
  • mfrom: (4.2.24 sid)
  • Revision ID: james.westby@ubuntu.com-20101128083827-yxc30ucpllbu3h08
Tags: 0.8.53-1ubuntu1
* Merge from debian unstable. Remaining changes:
  - Don't copy the default site directly into /var/www/ in the package,
    but instead keep it in /usr/share/nginx/nginx-default and move it to
   /var/www/nginx-default/ just after installation. (LP: #547267)
* debian/patches/nginx-html5-codecs.diff
  - Add support for html5 codecs (LP: #674224)

Show diffs side-by-side

added added

removed removed

Lines of Context:
369
369
    dvp.dp_timeout = timer;
370
370
    events = ioctl(dp, DP_POLL, &dvp);
371
371
 
372
 
    if (events == -1) {
373
 
        err = ngx_errno;
374
 
    } else {
375
 
        err = 0;
376
 
    }
 
372
    err = (events == -1) ? ngx_errno : 0;
377
373
 
378
374
    if (flags & NGX_UPDATE_TIME || ngx_event_timer_alarm) {
379
375
        ngx_time_update();