- Timestamp:
- Jan 27, 2010, 10:59:32 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_nmail.c
r272 r273 76 76 while (item) 77 77 { 78 fprintf(stderr, "FIXME check %s %s\n", str, sh_string_str(item->recipient));79 80 78 if (0 == strcmp(sh_string_str(item->recipient), str)) 81 79 return -1; … … 110 108 111 109 SH_MUTEX_LOCK_UNSAFE(mutex_listall); 112 fprintf(stderr, "FIXME intern %s\n", str);113 110 if (0 == check_double(str, all_recipients, S_TRUE)) 114 111 { … … 117 114 new->all_next = all_recipients; 118 115 all_recipients = new; 119 fprintf(stderr, "FIXME intern end\n");120 116 SH_MUTEX_UNLOCK_UNSAFE(mutex_listall); 121 117 } … … 199 195 if (0 == check_double(new, alias_list, S_FALSE)) 200 196 { 201 202 fprintf(stderr, "FIXME LIST %s\n", p);203 204 197 array = split_array_list(p, &nfields, lengths); 205 206 fprintf(stderr, "FIXME LIST %d\n", nfields);207 198 208 199 if (array && nfields > 0) … … 232 223 for (i = 0; i < nfields; ++i) 233 224 { 234 fprintf(stderr, "FIXME LIST(%d) %s\n", lengths[i], array[i]);235 236 225 if (lengths[i] > 0 && 237 226 0 == check_double(array[i], newalias->recipient_list, S_FALSE)) 238 227 { 239 fprintf(stderr, "FIXME add %s\n", array[i]);240 241 228 newalias->recipient_list = 242 229 add_recipient_intern(array[i], newalias->recipient_list); … … 353 340 } 354 341 355 if (alias)356 {357 fprintf(stderr, "FIXME %s, %s, %s\n", alias,358 (rcv->mail_filter) ? "filtered" : "NULL", message);359 }360 361 342 return 1; 362 343 } … … 614 595 reset_list(fifo_mail); 615 596 616 fprintf(stderr, "FIXME Compiled\n");617 618 597 /* Compiled recipients. These share threshold and filter, 619 598 * hence only the first recipient needs to be tested. … … 650 629 } 651 630 } 652 653 fprintf(stderr, "FIXME Aliases\n");654 631 655 632 /* Aliases … … 691 668 while (lnew) 692 669 { 693 fprintf(stderr, "FIXME %s\n", sh_string_str(lnew->recipient));694 670 lnew->send_mail = 1; 695 671 lnew= lnew->next; … … 726 702 } 727 703 728 729 fprintf(stderr, "FIXME Single\n");730 704 731 705 /* Single recipients
Note:
See TracChangeset
for help on using the changeset viewer.