mirror of
https://github.com/n05la3/cmdtypist
synced 2024-11-05 21:20:23 +00:00
added trailing string terminator
This commit is contained in:
parent
87a0c7bcab
commit
09cf019740
@ -703,7 +703,8 @@ long int select_user(void)
|
||||
break;
|
||||
u++;
|
||||
}
|
||||
if(strcmp(temp_name,user_name)=0)
|
||||
temp_name[u+1]='\0';
|
||||
if(strcmp(temp_name,user_name)==0)
|
||||
{
|
||||
//fseek(user_ptr,select_user(),SEEK_CUR);//Moving back to start reading from the correct position
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user