small fix as noted by xseregax

This commit is contained in:
Albert Zeyer
2011-05-21 11:33:12 +02:00
parent 6e45e91920
commit bb0ce713f3
+2 -1
View File
@@ -53,7 +53,8 @@ int kCurrentLogLevel = LOG_INFO;
int main(int argc, char **argv)
{
char tHWID[HWID_SIZE] = {0,51,52,53,54,55};
char tHWID_Hex[HWID_SIZE * 2];
char tHWID_Hex[HWID_SIZE * 2 + 1];
memset(tHWID_Hex, 0, sizeof(tHWID_Hex));
char tServerName[56] = "ShairPort";
char tPassword[56] = "";