Searched refs:newerror (Results 1 – 1 of 1) sorted by relevance
2462 LIBMTP_error_t *newerror; in add_error_to_errorstack() local2468 newerror = (LIBMTP_error_t *) malloc(sizeof(LIBMTP_error_t)); in add_error_to_errorstack()2469 newerror->errornumber = errornumber; in add_error_to_errorstack()2470 newerror->error_text = strdup(error_text); in add_error_to_errorstack()2471 newerror->next = NULL; in add_error_to_errorstack()2473 device->errorstack = newerror; in add_error_to_errorstack()2480 tmp->next = newerror; in add_error_to_errorstack()