summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/SHA1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src/SHA1.cpp')
-rw-r--r--protocols/Xfire/src/SHA1.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Xfire/src/SHA1.cpp b/protocols/Xfire/src/SHA1.cpp
index 49ac7ab1aa..a310dc5dd6 100644
--- a/protocols/Xfire/src/SHA1.cpp
+++ b/protocols/Xfire/src/SHA1.cpp
@@ -229,23 +229,23 @@ void CSHA1::ReportHash(char *szReport, unsigned char uReportType)
if (uReportType == REPORT_HEX)
{
- mir_snprintf(szTemp, SIZEOF(szTemp), "%02X", m_digest[0]);
+ mir_snprintf(szTemp, "%02X", m_digest[0]);
mir_strcat(szReport, szTemp);
for(i = 1; i < 20; i++)
{
- mir_snprintf(szTemp, SIZEOF(szTemp), " %02X", m_digest[i]);
+ mir_snprintf(szTemp, " %02X", m_digest[i]);
mir_strcat(szReport, szTemp);
}
}
else if (uReportType == REPORT_DIGIT)
{
- mir_snprintf(szTemp, SIZEOF(szTemp), "%u", m_digest[0]);
+ mir_snprintf(szTemp, "%u", m_digest[0]);
mir_strcat(szReport, szTemp);
for(i = 1; i < 20; i++)
{
- mir_snprintf(szTemp, SIZEOF(szTemp), " %u", m_digest[i]);
+ mir_snprintf(szTemp, " %u", m_digest[i]);
mir_strcat(szReport, szTemp);
}
}