Developer Area

Changeset 416

Show
Ignore:
Timestamp:
06/25/09 15:31:53 (5 years ago)
Author:
henri
Message:

Don't show errors if there aren't any naptrs.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • apps/iphone/superbook/trunk/Classes/NaptrViewController.m

    r404 r416  
    485485        [self.theTable performSelectorOnMainThread:@selector(reloadData) withObject:nil waitUntilDone:YES]; 
    486486        if (error) { 
    487                 [self showError:error]; 
     487                // Show all errors unless the answer is invalid, which generally means there aren't any NAPTRs 
     488                if ([error code] != RESOLVER_STATUS_INVALID_ANSWER) { 
     489                        [self showError:error]; 
     490                } 
    488491        } 
    489492} 
Telnic
Search This Site
Partners
Neustar
ICANN
Main site | WHOIS | Sell .tel | FAQ | Archived Site | About Telnic | Contact Us