diff options
author | dequis <dx@dxzone.com.ar> | 2015-03-19 07:25:33 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-04-10 14:10:41 -0300 |
commit | 73b1a8ee4370e5dd59b21ac9cf98120682632c59 (patch) | |
tree | 9257b5c18ae2e9d7129c1fa3f02bdebbb8c86942 /lib | |
parent | 913a663a3e383c40c644a7d0a8c8aba9d417167c (diff) |
get_rfc822_header: allow headers at the end of a string
Diffstat (limited to 'lib')
-rw-r--r-- | lib/misc.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -718,11 +718,6 @@ char *get_rfc822_header(const char *text, const char *header, int len) i++; } - /* Make sure we're still inside the string */ - if (i >= len) { - return(NULL); - } - /* Copy the found data */ return(g_strndup(ret, text + i - ret)); } |