This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
sdk:connection-statistics [2017/10/10 15:01] – fachet | sdk:connection-statistics [2017/10/26 15:09] – juraschek | ||
---|---|---|---|
Line 182: | Line 182: | ||
nb_syslog(" | nb_syslog(" | ||
//if we don't have enough space delete enough old ones to have enough space | //if we don't have enough space delete enough old ones to have enough space | ||
- | for(i=0; | ||
- | if (this.currentLogSize < (this.maxLogSize-this.freespace)) break; | ||
- | if(remove(sprintf(" | ||
- | this.currentLogSize=this.currentLogSize-size[i]; | ||
- | nb_syslog(" | ||
- | } else { | ||
- | nb_syslog(" | ||
- | } | ||
- | } | ||
- | | ||
return 0; | return 0; | ||
} | } |