mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
Add http status enum & return ESP_FAIL as error code
This commit is contained in:
@@ -51,7 +51,7 @@ static int md5_printf(char *md, const char *fmt, ...)
|
||||
va_start(ap, fmt);
|
||||
len = vasprintf((char **)&buf, fmt, ap);
|
||||
if (buf == NULL) {
|
||||
return -1;
|
||||
return ESP_FAIL;
|
||||
}
|
||||
|
||||
MD5Init(&md5_ctx);
|
||||
|
Reference in New Issue
Block a user