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

Side by Side Diff: third_party/libjingle/files/talk/p2p/base/port.cc

Issue 338037: linux: fix gcc 4.3 issues (for arm) (Closed)
Patch Set: Created 11 years, 1 month 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
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2004--2005, Google Inc. 3 * Copyright 2004--2005, Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 14 matching lines...) Expand all
25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28 #if defined(_MSC_VER) && _MSC_VER < 1300 28 #if defined(_MSC_VER) && _MSC_VER < 1300
29 #pragma warning(disable:4786) 29 #pragma warning(disable:4786)
30 #endif 30 #endif
31 31
32 #include <errno.h> 32 #include <errno.h>
33 33
34 #include <algorithm> 34 #include <algorithm>
35 #include <cstring>
35 #include <iostream> 36 #include <iostream>
36 #include <vector> 37 #include <vector>
37 38
38 #include "talk/base/asyncudpsocket.h" 39 #include "talk/base/asyncudpsocket.h"
39 #include "talk/base/asynctcpsocket.h" 40 #include "talk/base/asynctcpsocket.h"
40 #include "talk/base/helpers.h" 41 #include "talk/base/helpers.h"
41 #include "talk/base/logging.h" 42 #include "talk/base/logging.h"
42 #include "talk/base/scoped_ptr.h" 43 #include "talk/base/scoped_ptr.h"
43 #include "talk/base/socketadapters.h" 44 #include "talk/base/socketadapters.h"
44 #include "talk/p2p/base/common.h" 45 #include "talk/p2p/base/common.h"
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 if (sent <= 0) { 918 if (sent <= 0) {
918 assert(sent < 0); 919 assert(sent < 0);
919 error_ = port_->GetError(); 920 error_ = port_->GetError();
920 } else { 921 } else {
921 sent_total_bytes_ += sent; 922 sent_total_bytes_ += sent;
922 } 923 }
923 return sent; 924 return sent;
924 } 925 }
925 926
926 } // namespace cricket 927 } // namespace cricket
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698