summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-02 00:11:36 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-02 00:11:36 +0000
commit3d1cd3f60eee4632cb7362ccfc728a461cec10df (patch)
tree99294f7c8cfc2e442a2b76ecfd6cfc871b242f41
parent40e2b37864153280581145af253a85630f4d0417 (diff)
Changed to %u for unsigned
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2092 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/dns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dns.cpp b/src/dns.cpp
index 5d6431265..b5488b960 100644
--- a/src/dns.cpp
+++ b/src/dns.cpp
@@ -717,7 +717,7 @@ std::string DNS::GetResultIP()
}
if (result)
{
- sprintf(r,"%ld.%ld.%ld.%ld",result[0],result[1],result[2],result[3]);
+ sprintf(r,"%u.%u.%u.%u",result[0],result[1],result[2],result[3]);
return r;
}
else