Changeset 302 in Main


Ignore:
Timestamp:
Oct 10, 2024, 11:07:38 AM (5 weeks ago)
Author:
Nishi
Message:

fix compat headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/server.c

    r296 r302  
    953953#endif
    954954#ifdef USE_POLL
    955         struct pollfd pollfds[sockcount];
     955        struct pollfd* pollfds = malloc(sizeof(*pollfds) * sockcount);
    956956        for(i = 0; i < sockcount; i++) {
    957957                pollfds[i].fd = sockets[i];
Note: See TracChangeset for help on using the changeset viewer.