First Commit
[librecmc/package-feed.git] / mail / fdm / patches / 002-base64-fix.patch
1 --- a/imap-common.c     2011-12-20 00:19:03.000000000 +0400
2 +++ b/imap-common.c     2014-11-13 12:56:06.930418446 +0300
3 @@ -206,7 +206,7 @@
4  
5         size = (strlen(in) * 2) + 1;
6         out = xcalloc(1, size);
7 -       if (b64_ntop(in, strlen(in), out, size) < 0) {
8 +       if (local_b64_ntop(in, strlen(in), out, size) < 0) {
9                 xfree(out);
10                 return (NULL);
11         }
12 @@ -222,7 +222,7 @@
13  
14         size = (strlen(in) * 4) + 1;
15         out = xcalloc(1, size);
16 -       if (b64_pton(in, out, size) < 0) {
17 +       if (local_b64_pton(in, out, size) < 0) {
18                 xfree(out);
19                 return (NULL);
20         }