mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
A 0 length string is still a valid input and should be treated as such, a NULL return should be reserved for when errors occur during line editing or EOF is reached. Merges https://github.com/espressif/esp-idf/pull/4926