Changeset 710 for trunk/mio/mio_impl.h

Show
Ignore:
Timestamp:
16/10/08 15:49:41 (3 months ago)
Author:
ono
Message:

MIO_ERROR is not l-value on Windows [706], one should use MIO_SETERROR(e) instead of MIO_ERROR = e (#224)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/mio/mio_impl.h

    r706 r710  
    380380    /* convert the hostip */ 
    381381    if(j_inet_pton(hostip, &sa)<=0) { 
    382         MIO_ERROR = EFAULT; 
     382        MIO_SETERROR(EFAULT); 
    383383        return NULL; 
    384384    }