| Index: webrtc/libjingle/xmpp/presenceouttask.cc
|
| diff --git a/webrtc/libjingle/xmpp/presenceouttask.cc b/webrtc/libjingle/xmpp/presenceouttask.cc
|
| index aa19c9dd77ef8852bd75aec8da85f7816f10bb4d..5519a4fd4ab441f9dfc3b3901e353c3717ae82a0 100644
|
| --- a/webrtc/libjingle/xmpp/presenceouttask.cc
|
| +++ b/webrtc/libjingle/xmpp/presenceouttask.cc
|
| @@ -13,6 +13,7 @@
|
| #include "webrtc/libjingle/xmpp/constants.h"
|
| #include "webrtc/libjingle/xmpp/presenceouttask.h"
|
| #include "webrtc/libjingle/xmpp/xmppclient.h"
|
| +#include "webrtc/base/arraysize.h"
|
| #include "webrtc/base/stringencode.h"
|
|
|
| namespace buzz {
|
| @@ -128,7 +129,7 @@ PresenceOutTask::TranslateStatus(const PresenceStatus & s) {
|
| time(¤t_time_seconds);
|
| struct tm* current_time = gmtime(¤t_time_seconds);
|
| char output[256];
|
| - strftime(output, ARRAY_SIZE(output), "%Y%m%dT%H:%M:%S", current_time);
|
| + strftime(output, arraysize(output), "%Y%m%dT%H:%M:%S", current_time);
|
| result->AddAttr(kQnStamp, output, 1);
|
| }
|
| }
|
|
|