Ignore:
Timestamp:
12/02/10 22:04:35 (10 years ago)
Author:
alno
Message:

WebIf: fix small bug in last commit

File:
1 edited

Legend:

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

    r4030 r4031  
    450450
    451451        if((fp = fopen(filename, "r"))==NULL) return;
    452         while((read = fread(buffer,sizeof(char), 1024, fp)) > 0) {
     452        while((read = fread(buffer,sizeof(char), 1023, fp)) > 0) {
    453453            buffer[read] = '\0';
    454454            webif_write(buffer, f);
Note: See TracChangeset for help on using the changeset viewer.