projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29dcf7d
)
Fix whitespace
author
Peter Eisentraut
Sat, 28 Dec 2013 00:51:49 +0000
(19:51 -0500)
committer
Peter Eisentraut
Sat, 28 Dec 2013 00:51:49 +0000
(19:51 -0500)
src/port/username.c
patch
|
blob
|
blame
|
history
diff --git
a/src/port/username.c
b/src/port/username.c
index 4bb09f2d9749d09720b3b2ee42fd57a5bb23957d..87373649d95dea37139c9dffd29650fd676b5617 100644
(file)
--- a/
src/port/username.c
+++ b/
src/port/username.c
@@
-50,7
+50,7
@@
get_user_name(char **errstr)
return pw->pw_name;
#else
/* UNLEN = 256, 'static' variable remains after function exit */
- static char username[256 + 1];
+ static char username[256 + 1];
DWORD len = sizeof(username) - 1;
if (!GetUserName(username, &len))