OSDN Git Service
(root)
/
peercast-im
/
PeerCastIM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
VP27マージ
[peercast-im/PeerCastIM.git]
/
PeerCast.root
/
PeerCast
/
core
/
common
/
servent.cpp
diff --git
a/PeerCast.root/PeerCast/core/common/servent.cpp
b/PeerCast.root/PeerCast/core/common/servent.cpp
index
bd4c171
..
d8cdddd
100644
(file)
--- a/
PeerCast.root/PeerCast/core/common/servent.cpp
+++ b/
PeerCast.root/PeerCast/core/common/servent.cpp
@@
-3147,7
+3147,7
@@
bool Servent::writeVariable(Stream &s, const String &var)
}
strcat(buf,h_ip);
char h_name[128];
- if (ClientSocket::getHostname(h_name,
h.ip)
)
+ if (ClientSocket::getHostname(h_name,
sizeof(h_name),h.ip)) //JP-MOD(BOF
\91
Î
\8d
ô
)
{
strcat(buf,"[");
strcat(buf,h_name);