fix for passwords in tic file
This commit is contained in:
parent
a9443e89e7
commit
f68d1ba99b
@ -366,7 +366,7 @@ int process_tic_file(char *ticfilen) {
|
|||||||
} else if (strncasecmp(buffer, "seenby", 6) == 0) {
|
} else if (strncasecmp(buffer, "seenby", 6) == 0) {
|
||||||
// nothing currently
|
// nothing currently
|
||||||
} else if (strncasecmp(buffer, "pw", 2) == 0) {
|
} else if (strncasecmp(buffer, "pw", 2) == 0) {
|
||||||
ticfile.password = strdup(buffer);
|
ticfile.password = strdup(&buffer[3]);
|
||||||
}
|
}
|
||||||
|
|
||||||
fgets(buffer, 1024, fptr);
|
fgets(buffer, 1024, fptr);
|
||||||
|
Reference in New Issue
Block a user