OLD | NEW |
1 /* $Id: evdns.c 6979 2006-08-04 18:31:13Z nickm $ */ | 1 /* $Id: evdns.c 6979 2006-08-04 18:31:13Z nickm $ */ |
2 | 2 |
3 /* The original version of this module was written by Adam Langley; for | 3 /* The original version of this module was written by Adam Langley; for |
4 * a history of modifications, check out the subversion logs. | 4 * a history of modifications, check out the subversion logs. |
5 * | 5 * |
6 * When editing this module, try to keep it re-mergeable by Adam. Don't | 6 * When editing this module, try to keep it re-mergeable by Adam. Don't |
7 * reformat the whitespace, add Tor dependencies, or so on. | 7 * reformat the whitespace, add Tor dependencies, or so on. |
8 * | 8 * |
9 * TODO: | 9 * TODO: |
10 * - Support IPv6 and PTR records. | 10 * - Support IPv6 and PTR records. |
(...skipping 3172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3183 } else { | 3183 } else { |
3184 fprintf(stderr, "resolving (fwd) %s...\n",v[idx]); | 3184 fprintf(stderr, "resolving (fwd) %s...\n",v[idx]); |
3185 evdns_resolve_ipv4(v[idx], 0, main_callback, v[idx]); | 3185 evdns_resolve_ipv4(v[idx], 0, main_callback, v[idx]); |
3186 } | 3186 } |
3187 } | 3187 } |
3188 fflush(stdout); | 3188 fflush(stdout); |
3189 event_dispatch(); | 3189 event_dispatch(); |
3190 return 0; | 3190 return 0; |
3191 } | 3191 } |
3192 #endif | 3192 #endif |
OLD | NEW |