Changeset 3317:c77474208f2b
- Timestamp:
- 2003-03-03 23:45:45 (6 years ago)
- Author:
- Thomas Roessler <roessler@…>
- Branch:
- HEAD
- Message:
-
Fixing more IDN bugs.
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r3311
|
r3317
|
|
| 21 | 21 | #include "mapping.h" |
| 22 | 22 | #include "sort.h" |
| | 23 | |
| | 24 | #include "mutt_idna.h" |
| 23 | 25 | |
| 24 | 26 | #include <string.h> |
| … |
… |
|
| 223 | 225 | if (AliasTable[i]->tagged) |
| 224 | 226 | { |
| | 227 | mutt_addrlist_to_local (AliasTable[i]->addr); |
| 225 | 228 | rfc822_write_address (buf, buflen, AliasTable[i]->addr, 0); |
| 226 | 229 | t = -1; |
| … |
… |
|
| 229 | 232 | |
| 230 | 233 | if(t != -1) |
| | 234 | { |
| | 235 | mutt_addrlist_to_local (AliasTable[t]->addr); |
| 231 | 236 | rfc822_write_address (buf, buflen, AliasTable[t]->addr, 0); |
| | 237 | } |
| 232 | 238 | |
| 233 | 239 | mutt_menuDestroy (&menu); |
-
|
r3311
|
r3317
|
|
| 266 | 266 | new->name = safe_strdup (buf); |
| 267 | 267 | |
| | 268 | mutt_addrlist_to_local (adr); |
| | 269 | |
| 268 | 270 | if (adr) |
| 269 | 271 | strfcpy (buf, adr->mailbox, sizeof (buf)); |
| … |
… |
|
| 271 | 273 | buf[0] = 0; |
| 272 | 274 | |
| | 275 | mutt_addrlist_to_idna (adr, NULL); |
| | 276 | |
| 273 | 277 | do |
| 274 | 278 | { |
-
|
r3311
|
r3317
|
|
| 1433 | 1433 | mutt_error (_("Bad IDN in \"%s\": '%s'"), tag, err); |
| 1434 | 1434 | FREE (&err); |
| 1435 | | goto main_loop; |
| | 1435 | if (!(flags & SENDBATCH)) |
| | 1436 | goto main_loop; |
| | 1437 | else |
| | 1438 | goto cleanup; |
| 1436 | 1439 | } |
| 1437 | 1440 | |