Skip to content

Commit ca8e535

Browse files
committed
main中默认logout的user_id不是login提供的
1 parent 8f7a09b commit ca8e535

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ int main(){
3333
fflush(stdin);
3434
gets_s(str, 99);//100-1 cuz '\0'
3535
}while(shell(user_id,str));
36-
logout(2118);
36+
logout(user_id);
3737
halt();
3838
return 0;
3939
}

0 commit comments

Comments
 (0)