diff options
Diffstat (limited to 'tsutils')
-rw-r--r-- | tsutils/tsplayer/tsplayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tsutils/tsplayer/tsplayer.c b/tsutils/tsplayer/tsplayer.c index acb968b..e197519 100644 --- a/tsutils/tsplayer/tsplayer.c +++ b/tsutils/tsplayer/tsplayer.c @@ -280,7 +280,7 @@ int main(int argc,char *argv[]) {
if (strcmp(argv[index], "-f") == 0)
{
- memcpy(eventFileName, argv[index + 1], strlen(argv[index]));
+ memcpy(eventFileName, argv[index + 1], strlen(argv[index + 1]) + 1);
index++;
}
else if (strcmp(argv[index], "-d") == 0)
|