summaryrefslogtreecommitdiffstats
path: root/mDNSResponder/mDNSWindows/DLLX/DNSSD.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mDNSResponder/mDNSWindows/DLLX/DNSSD.cpp')
-rwxr-xr-xmDNSResponder/mDNSWindows/DLLX/DNSSD.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mDNSResponder/mDNSWindows/DLLX/DNSSD.cpp b/mDNSResponder/mDNSWindows/DLLX/DNSSD.cpp
index 8813d2df..f011dd14 100755
--- a/mDNSResponder/mDNSWindows/DLLX/DNSSD.cpp
+++ b/mDNSResponder/mDNSWindows/DLLX/DNSSD.cpp
@@ -643,7 +643,7 @@ CDNSSD::ResolveReply
record->AddRef();
char buf[ 64 ];
- sprintf( buf, "txtLen = %d", txtLen );
+ snprintf( buf, sizeof( buf ), "txtLen = %d", txtLen );
OutputDebugStringA( buf );
if ( txtLen > 0 )