View | Details | Raw Unified | Return to bug 147007
Collapse All | Expand All

(-)mDNSPosix.c (-1 / +2 lines)
Lines 581-587 Link Here
581
	{
581
	{
582
	char line[256];
582
	char line[256];
583
	char nameserver[16];
583
	char nameserver[16];
584
	char keyword[10];
584
	char keyword[11];
585
	int  numOfServers = 0;
585
	int  numOfServers = 0;
586
	FILE *fp = fopen(filePath, "r");
586
	FILE *fp = fopen(filePath, "r");
587
	if (fp == NULL) return -1;
587
	if (fp == NULL) return -1;
Lines 600-605 Link Here
600
			numOfServers++;
600
			numOfServers++;
601
			}
601
			}
602
		}  
602
		}  
603
	fclose(fp);
603
	return (numOfServers > 0) ? 0 : -1;
604
	return (numOfServers > 0) ? 0 : -1;
604
	}
605
	}

Return to bug 147007