diff -r dd7183cf0a71 -r 8e6d91e4dd8f libpurple/protocols/gg/oauth/oauth.c --- a/libpurple/protocols/gg/oauth/oauth.c Wed Oct 30 22:19:59 2019 -0400 +++ b/libpurple/protocols/gg/oauth/oauth.c Wed Oct 30 23:25:39 2019 -0400 @@ -104,9 +104,9 @@ nonce[sizeof(nonce) - 1] = 0; } - if (gg_oauth_static_timestamp == NULL) - snprintf(timestamp, sizeof(timestamp), "%ld", time(NULL)); - else { + if (gg_oauth_static_timestamp == NULL) { + g_snprintf(timestamp, sizeof(timestamp), "%ld", time(NULL)); + } else { strncpy(timestamp, gg_oauth_static_timestamp, sizeof(timestamp) - 1); timestamp[sizeof(timestamp) - 1] = 0; }