git-svn: trunk@2901
Török Edvin authored on 2007/03/04 08:00:14... | ... |
@@ -979,7 +979,8 @@ static int cli_html_normalise(int fd, m_area_t *m_area, const char *dirname, tag |
979 | 979 |
if(charset) { |
980 | 980 |
while(*charset && *charset != '=') |
981 | 981 |
charset++; |
982 |
- charset++;/* skip = */ |
|
982 |
+ if(*charset) |
|
983 |
+ charset++;/* skip = */ |
|
983 | 984 |
len = strcspn((const char*)charset," \"'"); |
984 | 985 |
charset[len] = '\0'; |
985 | 986 |
if(len) |