Project

General

Profile

Actions

Bug #1365

closed

Comfusing code in fdevent_linux_sysepoll_get_revents

Added by gladandong about 17 years ago. Updated about 16 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description

I am new to lighty, these days I am reading the source code of /trunk.

The following code made me comfused:

http://trac.lighttpd.net/trac/browser/trunk/src/fdevent_linux_sysepoll.c#L86

should this line:


fdevent_revents_add(revents, ev->epoll_events[ndx].data.fd, e);

be changed to:


fdevent_revents_add(revents, ev->epoll_events[ndx].data.fd, events);
Actions #1

Updated by stbuehler about 16 years ago

  • Status changed from New to Assigned
  • Assignee changed from jan to stbuehler
  • Patch available set to No
Actions #2

Updated by stbuehler about 16 years ago

  • Pending changed from Yes to No
  • Patch available changed from No to Yes
Actions #3

Updated by stbuehler about 16 years ago

  • Patch available changed from Yes to No

You are right; it just works as the constants have the same value.

Actions #4

Updated by stbuehler about 16 years ago

  • Status changed from Assigned to Fixed
  • % Done changed from 0 to 100

Applied in changeset r2343.

Actions

Also available in: Atom