We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29dcf7d commit b986270Copy full SHA for b986270
src/port/username.c
@@ -50,7 +50,7 @@ get_user_name(char **errstr)
50
return pw->pw_name;
51
#else
52
/* UNLEN = 256, 'static' variable remains after function exit */
53
- static char username[256 + 1];
+ static char username[256 + 1];
54
DWORD len = sizeof(username) - 1;
55
56
if (!GetUserName(username, &len))
0 commit comments