deps/libssh-0.6.3/src/error.c
void _ssh_set_error_oom(void *error, const char *function)
{
    struct error_struct *err = error;

    snprintf(err->error_buffer, sizeof(err->error_buffer),
            "%s: Out of memory", function);
    err->error_code = SSH_FATAL;
}
/**
 * @internal
 *
 * @brief Registers an out of memory error
 *
 * @param  error       The place to store the error.
 *
 */
@internal
@brief Registers an out of memory error

@param  error       The place to store the error.
@internal @brief Registers an out of memory error @param error The place to store the error .
void _ssh_set_error_oom(void *error, const char *function)
{
    struct error_struct *err = error;
    snprintf(err->error_buffer, sizeof(err->error_buffer),
            "%s: Out of memory", function);
    err->error_code = SSH_FATAL;
}
void _ssh_set_error_oom ( void * error , const char * function ) { struct error_struct * err = error ; snprintf ( err -> error_buffer , sizeof ( err -> error_buffer ) , " " , function ) ; err -> error_code = SSH_FATAL ; }
@internal
 @brief Registers an out of memory error
@internal @brief Registers an out of memory error