projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added SILC Thread Queue API
[silc.git]
/
lib
/
silcutil
/
win32
/
silcwin32util.c
diff --git
a/lib/silcutil/win32/silcwin32util.c
b/lib/silcutil/win32/silcwin32util.c
index 2a4fa83dc846c452058f365001643aff5ed57266..0148a8e02b19e7f40cb7d752bdd8a9486685daf4 100644
(file)
--- a/
lib/silcutil/win32/silcwin32util.c
+++ b/
lib/silcutil/win32/silcwin32util.c
@@
-45,7
+45,7
@@
char *silc_get_username(void)
DWORD maxlen = 128;
char username[128];
GetUserName(username, &maxlen);
DWORD maxlen = 128;
char username[128];
GetUserName(username, &maxlen);
- return strdup(username);
+ return s
ilc_s
trdup(username);
}
char *silc_get_real_name(void)
}
char *silc_get_real_name(void)
@@
-55,5
+55,5
@@
char *silc_get_real_name(void)
int silc_file_set_nonblock(int fd)
{
int silc_file_set_nonblock(int fd)
{
- return
fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) | O_NONBLOCK)
;
+ return
0
;
}
}