summaryrefslogtreecommitdiffstats
path: root/mDNSResponder/mDNSPosix/Identify.c
diff options
context:
space:
mode:
Diffstat (limited to 'mDNSResponder/mDNSPosix/Identify.c')
-rw-r--r--mDNSResponder/mDNSPosix/Identify.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mDNSResponder/mDNSPosix/Identify.c b/mDNSResponder/mDNSPosix/Identify.c
index 003ac631..6a5d362b 100644
--- a/mDNSResponder/mDNSPosix/Identify.c
+++ b/mDNSResponder/mDNSPosix/Identify.c
@@ -330,8 +330,10 @@ mDNSexport int main(int argc, char **argv)
if (StopNow == 2) break;
}
#endif
- else {
- if (strlen(arg) >= sizeof(hostname)) {
+ else
+ {
+ if (strlen(arg) >= sizeof(hostname))
+ {
fprintf(stderr, "hostname must be < %d characters\n", (int)sizeof(hostname));
goto usage;
}