Commit 23e39709 23e39709d95eb384037de68511d83672a21daf70 by Sergey Poznyakoff

(_get_envelope_sender): Bugfix: the return value was wrong.

1 parent 8e7be51e
1 /* GNU Mailutils -- a suite of utilities for electronic mail 1 /* GNU Mailutils -- a suite of utilities for electronic mail
2 Copyright (C) 1999, 2000, 2001, 2006 Free Software Foundation, Inc. 2 Copyright (C) 1999, 2000, 2001, 2006, 2007 Free Software Foundation, Inc.
3 3
4 This library is free software; you can redistribute it and/or 4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public 5 modify it under the terms of the GNU Lesser General Public
...@@ -67,7 +67,7 @@ _get_envelope_sender (mu_envelope_t env) ...@@ -67,7 +67,7 @@ _get_envelope_sender (mu_envelope_t env)
67 } 67 }
68 68
69 mu_address_destroy (&addr); 69 mu_address_destroy (&addr);
70 return buffer; 70 return ptr;
71 } 71 }
72 72
73 static int 73 static int
......