projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypt.c: Combine load_key() and get_private_key().
[paraslash.git]
/
net.c
diff --git
a/net.c
b/net.c
index 1369498905faa4ab729bac8209a6a03e8b920063..fa7cd4b80a7d96b26e35add01ad97d9a123f138d 100644
(file)
--- a/
net.c
+++ b/
net.c
@@
-376,7
+376,7
@@
int lookup_address(unsigned l4type, bool passive, const char *host,
struct addrinfo *addr = NULL, hints;
*result = NULL;
- sprintf(port, "%
u
", port_number & 0xffff);
+ sprintf(port, "%
d
", port_number & 0xffff);
/* Set up address hint structure */
memset(&hints, 0, sizeof(hints));
hints.ai_family = AF_UNSPEC;