diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-02 00:11:36 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-02 00:11:36 +0000 |
commit | 3d1cd3f60eee4632cb7362ccfc728a461cec10df (patch) | |
tree | 99294f7c8cfc2e442a2b76ecfd6cfc871b242f41 /src/dns.cpp | |
parent | 40e2b37864153280581145af253a85630f4d0417 (diff) |
Changed to %u for unsigned
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2092 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/dns.cpp')
-rw-r--r-- | src/dns.cpp | 2 |
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 |