]> Pileus Git - ~andy/fetchmail/blobdiff - rfc2047e.c
Fix typo repsonsible -> responsible.
[~andy/fetchmail] / rfc2047e.c
index 87c9c5c557f6fc0183285b75489e10b9d1ae7f7b..e6f8f32bcc4913b5d0d1800dd69197f273f11699 100644 (file)
@@ -17,7 +17,9 @@
     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
 
+#ifndef _GNU_SOURCE
 #define _GNU_SOURCE
+#endif
 #include "fetchmail.h"
 
 #include <string.h>
@@ -174,7 +176,7 @@ char *rfc2047e(const char *string, const char *charset) {
        if (i + 1 < count)
            m += strcspn(words[i+1], "\r\n");
        if (l + m > 74)
-           l = 0, t = stpcpy(t, "\r\n");
+           t = stpcpy(t, "\r\n");
        t = stpcpy(t, words[i]);
        if (i + 1 < count) {
            t = stpcpy(t, words[i+1]);