Logo Search packages:      
Sourcecode: nbsmtp version File versions  Download package

void str_free ( string_t buffer  ) 

Frees a string_t element.

Parameters:
[out] buffer Pointer to string_t

Definition at line 62 of file util.c.

References string::len, and string::str.

Referenced by main(), and nbsmtp_rcpts().

{
      if (buffer->len > 0)
      {
            free(buffer->str);
            buffer->len = 0;
      }
}


Generated by  Doxygen 1.6.0   Back to index