fix for passwords in tic file

This commit is contained in:
Andrew Pamment 2016-08-12 07:45:12 +10:00
parent a9443e89e7
commit f68d1ba99b

View File

@ -366,7 +366,7 @@ int process_tic_file(char *ticfilen) {
} else if (strncasecmp(buffer, "seenby", 6) == 0) {
// nothing currently
} else if (strncasecmp(buffer, "pw", 2) == 0) {
ticfile.password = strdup(buffer);
ticfile.password = strdup(&buffer[3]);
}
fgets(buffer, 1024, fptr);