Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1069)

Side by Side Diff: third_party/libevent/evdns.c

Issue 903273002: Update from https://crrev.com/315085 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/libevent/README.chromium ('k') | third_party/libxml/libxml.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #ifndef DNS_USE_OPENSSL_FOR_ID 48 #ifndef DNS_USE_OPENSSL_FOR_ID
49 #ifndef DNS_USE_FTIME_FOR_ID 49 #ifndef DNS_USE_FTIME_FOR_ID
50 #error Must configure at least one id generation method. 50 #error Must configure at least one id generation method.
51 #error Please see the documentation. 51 #error Please see the documentation.
52 #endif 52 #endif
53 #endif 53 #endif
54 #endif 54 #endif
55 #endif 55 #endif
56 56
57 /* #define _POSIX_C_SOURCE 200507 */ 57 /* #define _POSIX_C_SOURCE 200507 */
58 #if !defined(_GNU_SOURCE)
58 #define _GNU_SOURCE 59 #define _GNU_SOURCE
60 #endif
59 61
60 #ifdef DNS_USE_CPU_CLOCK_FOR_ID 62 #ifdef DNS_USE_CPU_CLOCK_FOR_ID
61 #ifdef DNS_USE_OPENSSL_FOR_ID 63 #ifdef DNS_USE_OPENSSL_FOR_ID
62 #error Multiple id options selected 64 #error Multiple id options selected
63 #endif 65 #endif
64 #ifdef DNS_USE_GETTIMEOFDAY_FOR_ID 66 #ifdef DNS_USE_GETTIMEOFDAY_FOR_ID
65 #error Multiple id options selected 67 #error Multiple id options selected
66 #endif 68 #endif
67 #include <time.h> 69 #include <time.h>
68 #endif 70 #endif
(...skipping 3110 matching lines...) Expand 10 before | Expand all | Expand 10 after
3179 } else { 3181 } else {
3180 fprintf(stderr, "resolving (fwd) %s...\n",v[idx]); 3182 fprintf(stderr, "resolving (fwd) %s...\n",v[idx]);
3181 evdns_resolve_ipv4(v[idx], 0, main_callback, v[idx]); 3183 evdns_resolve_ipv4(v[idx], 0, main_callback, v[idx]);
3182 } 3184 }
3183 } 3185 }
3184 fflush(stdout); 3186 fflush(stdout);
3185 event_dispatch(); 3187 event_dispatch();
3186 return 0; 3188 return 0;
3187 } 3189 }
3188 #endif 3190 #endif
OLDNEW
« no previous file with comments | « third_party/libevent/README.chromium ('k') | third_party/libxml/libxml.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698