OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
162 isspace(static_cast<unsigned char>(msgbuf[len-1]))) { | 162 isspace(static_cast<unsigned char>(msgbuf[len-1]))) { |
163 msgbuf[--len] = 0; | 163 msgbuf[--len] = 0; |
164 } | 164 } |
165 tmp << " " << msgbuf; | 165 tmp << " " << msgbuf; |
166 } | 166 } |
167 break; | 167 break; |
168 } | 168 } |
169 #endif // WEBRTC_WIN | 169 #endif // WEBRTC_WIN |
170 #if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS) | 170 #if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS) |
171 case ERRCTX_OSSTATUS: { | 171 case ERRCTX_OSSTATUS: { |
172 #pragma clang diagnostic push | |
tkchin_webrtc
2016/01/28 21:09:44
compiler directives have no indentation
Can you fi
hjon_webrtc
2016/01/28 23:49:51
Fixed indentation. Is there a preferred way to ref
tkchin_webrtc
2016/01/29 00:26:29
I'm not against pasting links if it fits in 80.
//
| |
173 #pragma clang diagnostic ignored "-Wdeprecated" | |
172 tmp << " " << nonnull(GetMacOSStatusErrorString(err), "Unknown error"); | 174 tmp << " " << nonnull(GetMacOSStatusErrorString(err), "Unknown error"); |
173 if (const char* desc = GetMacOSStatusCommentString(err)) { | 175 if (const char* desc = GetMacOSStatusCommentString(err)) { |
174 tmp << ": " << desc; | 176 tmp << ": " << desc; |
175 } | 177 } |
178 #pragma clang diagnostic pop | |
176 break; | 179 break; |
177 } | 180 } |
178 #endif // WEBRTC_MAC && !defined(WEBRTC_IOS) | 181 #endif // WEBRTC_MAC && !defined(WEBRTC_IOS) |
179 default: | 182 default: |
180 break; | 183 break; |
181 } | 184 } |
182 extra_ = tmp.str(); | 185 extra_ = tmp.str(); |
183 } | 186 } |
184 } | 187 } |
185 | 188 |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
547 } | 550 } |
548 | 551 |
549 if (state) { | 552 if (state) { |
550 state->unprintable_count_[input] = consecutive_unprintable; | 553 state->unprintable_count_[input] = consecutive_unprintable; |
551 } | 554 } |
552 } | 555 } |
553 | 556 |
554 ////////////////////////////////////////////////////////////////////// | 557 ////////////////////////////////////////////////////////////////////// |
555 | 558 |
556 } // namespace rtc | 559 } // namespace rtc |
OLD | NEW |