Navigation


Changeset 914:b6b631c268f3 in freeDiameter


Ignore:
Timestamp:
Feb 2, 2013, 1:05:26 AM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Be even more careful in the loop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/sctp.c

    r913 r914  
    10871087        /* We will loop while all data is not received. */
    10881088incomplete:
    1089         if (datasize + sizeof(struct timespec) >= bufsz ) {
     1089        while (datasize + sizeof(struct timespec) >= bufsz ) {
    10901090                /* The buffer is full, enlarge it */
    10911091                bufsz += mempagesz;
Note: See TracChangeset for help on using the changeset viewer.