Ignore:
Timestamp:
12/17/10 17:58:19 (10 years ago)
Author:
_network
Message:

WebIf: add POST support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/oscam-http-helpers.c

    r4031 r4137  
    390390    } else
    391391#endif
    392     {
    393         buf[0]='\0';
    394         int len=0;
    395         while (fgets(buf+len, num-len-1, f)) {
    396             if (buf[0+len] == '\r' && buf[1+len] == '\n') break;
    397             len=strlen(buf);
    398         }
    399         return len;
    400     }
     392        return read(fileno(f), buf, num);
    401393}
    402394
Note: See TracChangeset for help on using the changeset viewer.