From f68d1ba99b0d40089e7248c9b51b6e6e415dfa86 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Fri, 12 Aug 2016 07:45:12 +1000 Subject: [PATCH] fix for passwords in tic file --- utils/ticproc/ticproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/ticproc/ticproc.c b/utils/ticproc/ticproc.c index cb4ec38..3dcfc80 100644 --- a/utils/ticproc/ticproc.c +++ b/utils/ticproc/ticproc.c @@ -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);