Changeset 6374

Show
Ignore:
Timestamp:
12/01/08 13:41:21 (1 month ago)
Author:
morris
Message:

Add assert

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libwired/libwired/net/wi-socket.c

    r6372 r6374  
    14311431        } 
    14321432 
     1433        WI_ASSERT(buffer != NULL, "buffer of length %u should not be NULL", length); 
     1434                 
    14331435#ifdef HAVE_OPENSSL_SSL_H 
    14341436        if(socket->ssl) { 
     
    15831585#endif 
    15841586        } 
     1587 
     1588        WI_ASSERT(buffer != NULL, "buffer of length %u should not be NULL", length); 
    15851589 
    15861590#ifdef HAVE_OPENSSL_SSL_H