1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-29 03:17:53 -04:00

get_attr_value: do not do trim_chars

trim_chars was called only in debug mode and the results of the get_attr_val
for value=" something " in debug mode differ from normal and fastmem mode.

[ From commit c4500039b2 on the witekfl
  branch.  --KON ]
This commit is contained in:
Witold Filipczyk 2007-03-12 16:43:17 +01:00 committed by Kalle Olavi Niemitalo
parent d2970e57af
commit e347122e6d

View File

@ -211,7 +211,7 @@ found_endattr:
mem_free(saved_attr);
}
set_mem_comment(trim_chars(attr, ' ', NULL), name, strlen(name));
set_mem_comment(attr, name, strlen(name));
return attr;
} else {