Code Review
/
ric-plt
/
lib
/
rmr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Re-enable RMR libary's module tests
[ric-plt/lib/rmr.git]
/
src
/
rmr
/
si
/
src
/
si95
/
siaddress.c
diff --git
a/src/rmr/si/src/si95/siaddress.c
b/src/rmr/si/src/si95/siaddress.c
index
153e6ac
..
1d76f71
100644
(file)
--- a/
src/rmr/si/src/si95/siaddress.c
+++ b/
src/rmr/si/src/si95/siaddress.c
@@
-44,7
+44,7
@@
* hostent structure. It claims that h_addr_list is a pointer
* to character pointers, but it is really a pointer to a list
* of pointers to integers!!!
* hostent structure. It claims that h_addr_list is a pointer
* to character pointers, but it is really a pointer to a list
* of pointers to integers!!!
-*
+*
***************************************************************************
*/
#include "sisetup.h" // get necessary defs and other stuff
***************************************************************************
*/
#include "sisetup.h" // get necessary defs and other stuff
@@
-165,7
+165,7
@@
extern int SIaddress( void *src, void **dest, int type ) {
(int) ntohs( addr6->sin6_port ) );
} else {
num = (char *) &addr->sin_addr.s_addr; // point at the long
(int) ntohs( addr6->sin6_port ) );
} else {
num = (char *) &addr->sin_addr.s_addr; // point at the long
- snprintf( wbuf, sizeof( wbuf ), "%u.%u.%u.%u
;
%d", *(num+0), *(num+1), *(num+2), *(num+3), (int) ntohs(addr->sin_port) );
+ snprintf( wbuf, sizeof( wbuf ), "%u.%u.%u.%u
:
%d", *(num+0), *(num+1), *(num+2), *(num+3), (int) ntohs(addr->sin_port) );
}
*dest = (void *) strdup( wbuf );
}
*dest = (void *) strdup( wbuf );