From cbe0a0f9553efc3dfc0d4703107cc1d02cc2d06c Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Mon, 19 Jun 2017 13:33:44 +0200 Subject: mexport: < and > are not part of the addr-spec used in From lines --- mexport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mexport.c') diff --git a/mexport.c b/mexport.c index ee9f126..1a7d599 100644 --- a/mexport.c +++ b/mexport.c @@ -48,7 +48,7 @@ export(char *file) char *s = strchr(v, '<'); char *e = strchr(s, '>'); if (s && e) { - e++; + s++; memcpy(from, s, e-s); from[e-s] = 0; } -- cgit 1.4.1