diff --git a/mhl/escape.h b/mhl/escape.h index 2ec4e0d46..efc0aac52 100644 --- a/mhl/escape.h +++ b/mhl/escape.h @@ -113,8 +113,6 @@ static inline char* mhl_shell_unescape_buf(char* text) case '`': case '"': case ';': - case '\0': /* end of line! malformed escape string */ - goto out; default: (*writeptr) = c; writeptr++; break; } @@ -126,7 +124,6 @@ static inline char* mhl_shell_unescape_buf(char* text) } readptr++; } -out: *writeptr = 0; return text;