summaryrefslogtreecommitdiff
path: root/utils/ofdns/OFDNS.m
diff options
context:
space:
mode:
Diffstat (limited to 'utils/ofdns/OFDNS.m')
-rw-r--r--utils/ofdns/OFDNS.m10
1 files changed, 5 insertions, 5 deletions
diff --git a/utils/ofdns/OFDNS.m b/utils/ofdns/OFDNS.m
index 566f6fdc..63216fb7 100644
--- a/utils/ofdns/OFDNS.m
+++ b/utils/ofdns/OFDNS.m
@@ -23,16 +23,16 @@
#import "OFSandbox.h"
#import "OFStdIOStream.h"
-@interface OFDNS: OFObject <OFApplicationDelegate, OFDNSResolverDelegate>
+@interface OFDNS: OFObject <OFApplicationDelegate, OFDNSResolverQueryDelegate>
@end
OF_APPLICATION_DELEGATE(OFDNS)
@implementation OFDNS
-- (void)resolver: (OFDNSResolver *)resolver
- didPerformQuery: (OFDNSQuery *)query
- response: (OFDNSResponse *)response
- exception: (id)exception
+- (void)resolver: (OFDNSResolver *)resolver
+ didPerformQuery: (OFDNSQuery *)query
+ response: (OFDNSResponse *)response
+ exception: (id)exception
{
if (exception != nil) {
[of_stderr writeFormat: @"Failed to resolve: %@\n", exception];