projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updates. New data types.
[silc.git]
/
lib
/
silcutil
/
silcnet.c
diff --git
a/lib/silcutil/silcnet.c
b/lib/silcutil/silcnet.c
index 5b060d1e5f5989f06504248dfc02b187e5d7ac9e..bb55b3a2709ef7f867decb04834a711eb5e62b2b 100644
(file)
--- a/
lib/silcutil/silcnet.c
+++ b/
lib/silcutil/silcnet.c
@@
-293,7
+293,7
@@
void silc_net_check_host_by_sock(int sock, char **hostname, char **ip)
/* Return remote port by socket. */
/* Return remote port by socket. */
-u
nsigned short
silc_net_get_remote_port(int sock)
+u
int16
silc_net_get_remote_port(int sock)
{
struct sockaddr_in remote;
int len;
{
struct sockaddr_in remote;
int len;
@@
-308,7
+308,7
@@
unsigned short silc_net_get_remote_port(int sock)
/* Return local port by socket. */
/* Return local port by socket. */
-u
nsigned short
silc_net_get_local_port(int sock)
+u
int16
silc_net_get_local_port(int sock)
{
struct sockaddr_in local;
int len;
{
struct sockaddr_in local;
int len;