summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--encoding.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/encoding.js b/encoding.js
index f0b68a7..52265de 100644
--- a/encoding.js
+++ b/encoding.js
@@ -147,7 +147,7 @@ function decode_base64( str ) {
147 147
148function decode_header( line ) { 148function decode_header( line ) {
149 while( 1 ) { 149 while( 1 ) {
150 var enc_word = /=\?(\S+)\?(Q|B)\?(\S+)\?=/(line); 150 var enc_word = line.match( /=\?(\S+)\?(Q|B)\?(\S+)\?=/ );
151 var dec_word; 151 var dec_word;
152 if( enc_word == null ) { 152 if( enc_word == null ) {
153 break; 153 break;