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

Side by Side Diff: base/third_party/libevent/log.c

Issue 1531573008: move libevent into base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix shim path Created 5 years 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 | « base/third_party/libevent/log.h ('k') | base/third_party/libevent/m4/.dummy » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* $OpenBSD: err.c,v 1.2 2002/06/25 15:50:15 mickey Exp $ */ 1 /* $OpenBSD: err.c,v 1.2 2002/06/25 15:50:15 mickey Exp $ */
2 2
3 /* 3 /*
4 * log.c 4 * log.c
5 * 5 *
6 * Based on err.c, which was adapted from OpenBSD libc *err* *warn* code. 6 * Based on err.c, which was adapted from OpenBSD libc *err* *warn* code.
7 * 7 *
8 * Copyright (c) 2005 Nick Mathewson <nickm@freehaven.net> 8 * Copyright (c) 2005 Nick Mathewson <nickm@freehaven.net>
9 * 9 *
10 * Copyright (c) 2000 Dug Song <dugsong@monkey.org> 10 * Copyright (c) 2000 Dug Song <dugsong@monkey.org>
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 case _EVENT_LOG_ERR: 178 case _EVENT_LOG_ERR:
179 severity_str = "err"; 179 severity_str = "err";
180 break; 180 break;
181 default: 181 default:
182 severity_str = "???"; 182 severity_str = "???";
183 break; 183 break;
184 } 184 }
185 (void)fprintf(stderr, "[%s] %s\n", severity_str, msg); 185 (void)fprintf(stderr, "[%s] %s\n", severity_str, msg);
186 } 186 }
187 } 187 }
OLDNEW
« no previous file with comments | « base/third_party/libevent/log.h ('k') | base/third_party/libevent/m4/.dummy » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698