diff options
Diffstat (limited to 'protocols/Gadu-Gadu/src/avatar.cpp')
-rw-r--r-- | protocols/Gadu-Gadu/src/avatar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Gadu-Gadu/src/avatar.cpp b/protocols/Gadu-Gadu/src/avatar.cpp index 9130366d8d..42685a821f 100644 --- a/protocols/Gadu-Gadu/src/avatar.cpp +++ b/protocols/Gadu-Gadu/src/avatar.cpp @@ -118,7 +118,7 @@ char *gg_avatarhash(char *param) mir_sha1_hash((BYTE*)param, (int)strlen(param), digest);
for (i = 0; i < MIR_SHA1_HASH_SIZE; i++)
- sprintf(result + (i<<1), "%02x", digest[i]);
+ mir_snprintf(result + (i<<1), 2, "%02x", digest[i]);
return result;
}
|