Changeset 848 for branches/ithildin-1.1
- Timestamp:
- 04/30/10 01:57:25 (2 years ago)
- Location:
- branches/ithildin-1.1/modules
- Files:
-
- 2 edited
-
dns/dns.c (modified) (1 diff)
-
ircd/send.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/ithildin-1.1/modules/dns/dns.c
r822 r848 163 163 free(dns.pending.retry_times); 164 164 dns.pending.retry_times = 165 calloc(1, sizeof( unsigned int) * (dns.pending.retries + 1));165 calloc(1, sizeof(time_t) * (dns.pending.retries + 1)); 166 166 dns.pending.retry_times[dns.pending.retries] = dns.pending.timeout; 167 167 for (i = dns.pending.retries - 1;i >= 0;i--) -
branches/ithildin-1.1/modules/ircd/send.c
r847 r848 734 734 return; /* nothing to do here. */ 735 735 736 va_start(vl, msg);737 736 snprintf(lmsg, 512, ":*** Notice -- %s", msg); 738 737 /* now just walk down the list of users and send the message off. */ … … 741 740 continue; 742 741 742 va_start(vl, msg); 743 743 sendto_common(clp->cli->conn, NULL, ircd.me, "NOTICE", clp->cli->nick, 744 744 lmsg, vl); 745 } 746 747 va_end(vl); 745 va_end(vl); 746 } 748 747 } 749 748 … … 757 756 return; /* nothing to do here. */ 758 757 759 va_start(vl, msg);760 758 snprintf(lmsg, 512, ":*** Notice -- %s", msg); 761 759 /* now just walk down the list of users and send the message off. */ … … 767 765 continue; 768 766 767 va_start(vl, msg); 769 768 sendto_common(clp->cli->conn, NULL, ircd.me, "NOTICE", clp->cli->nick, 770 769 lmsg, vl); 771 } 772 773 va_end(vl); 770 va_end(vl); 771 } 774 772 } 775 773 … … 787 785 return; /* nothing to do here. */ 788 786 789 va_start(vl, msg);790 791 787 snprintf(lmsg, 512, ":*** %s -- from %s: %s", type, 792 788 (cli != NULL ? cli->nick : srv->name), msg); … … 798 794 /* note that we always send from ourselves still! this isn't a 799 795 * mistake. */ 796 va_start(vl, msg); 800 797 sendto_common(clp->cli->conn, NULL, ircd.me, "NOTICE", clp->cli->nick, 801 798 lmsg, vl); 802 } 803 804 va_end(vl); 799 va_end(vl); 800 } 805 801 } 806 802
Note: See TracChangeset
for help on using the changeset viewer.
