Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
605d6b28
Commit
605d6b28
authored
Aug 23, 2002
by
Per Cederqvist
Browse files
(isc_getipnum): Fixed error introduced in last commit.
parent
024138a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libraries/libisc-new/src/isc_socket.c
View file @
605d6b28
...
...
@@ -179,7 +179,7 @@ char *isc_getipnum(IscAddress *ia, char *buf, int len)
addr
=
(
struct
sockaddr_in
*
)
&
ia
->
ip
.
saddr
;
strncpy
(
buf
,
inet_ntoa
(
addr
->
sin_addr
),
len
-
1
);
buf
[
len
]
=
'\0'
;
buf
[
len
-
1
]
=
'\0'
;
return
buf
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment