Delete wrappers for snprintf and vsnprintf
Bug: webrtc:6424 Change-Id: I99373dc86e25caff20111408b104ff5dafa7b711 Reviewed-on: https://webrtc-review.googlesource.com/c/106322 Commit-Queue: Niels Moller <nisse@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25210}
This commit is contained in:
@ -18,11 +18,8 @@
|
||||
#include "examples/peerconnection/client/defaults.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/stringutils.h"
|
||||
#include "third_party/libyuv/include/libyuv/convert_from.h"
|
||||
|
||||
using rtc::sprintfn;
|
||||
|
||||
namespace {
|
||||
|
||||
//
|
||||
@ -150,7 +147,7 @@ GtkMainWnd::GtkMainWnd(const char* server,
|
||||
autoconnect_(autoconnect),
|
||||
autocall_(autocall) {
|
||||
char buffer[10];
|
||||
sprintfn(buffer, sizeof(buffer), "%i", port);
|
||||
snprintf(buffer, sizeof(buffer), "%i", port);
|
||||
port_ = buffer;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user