File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1486,14 +1486,15 @@ char *spamify_replacedomain(char *input, char *antispamdomain)
1486
1486
int domainlen = strlen (antispamdomain );
1487
1487
struct Push buff ;
1488
1488
int in_ascii = TRUE, esclen = 0 ;
1489
-
1489
+ char * cursor ;
1490
+
1490
1491
INIT_PUSH (buff );
1491
1492
1492
- for (; * input ; input ++ ) {
1493
+ for (cursor = input ; * cursor ; cursor ++ ) {
1493
1494
if (set_iso2022jp ) {
1494
- iso2022_state (input , & in_ascii , & esclen );
1495
+ iso2022_state (cursor , & in_ascii , & esclen );
1495
1496
}
1496
- if (in_ascii == TRUE && * input == '@' ) {
1497
+ if (in_ascii == TRUE && * cursor == '@' ) {
1497
1498
PushString (& buff , set_antispam_at );
1498
1499
if (domainlen > 0 ) {
1499
1500
/* append the new domain */
@@ -1502,7 +1503,7 @@ char *spamify_replacedomain(char *input, char *antispamdomain)
1502
1503
}
1503
1504
}
1504
1505
else {
1505
- PushByte (& buff , * input );
1506
+ PushByte (& buff , * cursor );
1506
1507
}
1507
1508
}
1508
1509
free (input );
You can’t perform that action at this time.
0 commit comments