Removed DOS carriage return characters from the end of lines
authorcheshire@apple.com <cheshire@apple.com@214c2c4a-bf3b-4dcf-9390-e4dd3010487d>
Fri, 28 Aug 2009 01:10:57 +0000 (01:10 +0000)
committercheshire@apple.com <cheshire@apple.com@214c2c4a-bf3b-4dcf-9390-e4dd3010487d>
Fri, 28 Aug 2009 01:10:57 +0000 (01:10 +0000)
git-svn-id: http://svn.macosforge.org/repository/mdnsresponder/trunk@6624 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

Clients/dns-sd.c

index 667670a..7975d11 100644 (file)
@@ -143,13 +143,14 @@ cl dns-sd.c -I../mDNSShared -DNOT_HAVE_GETOPT ws2_32.lib ..\mDNSWindows\DLL\Rele
 
                return name;
                }
-\r
-       static size_t _sa_len(const struct sockaddr *addr)\r
-               {\r
-               if (addr->sa_family == AF_INET) return (sizeof(struct sockaddr_in));\r
-               else if (addr->sa_family == AF_INET6) return (sizeof(struct sockaddr_in6));\r
-               else return (sizeof(struct sockaddr));\r
-               }\r
+
+       static size_t _sa_len(const struct sockaddr *addr)
+               {
+               if (addr->sa_family == AF_INET) return (sizeof(struct sockaddr_in));
+               else if (addr->sa_family == AF_INET6) return (sizeof(struct sockaddr_in6));
+               else return (sizeof(struct sockaddr));
+               }
+
 #   define SA_LEN(addr) (_sa_len(addr))
 
 #else
@@ -169,7 +170,6 @@ cl dns-sd.c -I../mDNSShared -DNOT_HAVE_GETOPT ws2_32.lib ..\mDNSWindows\DLL\Rele
 #endif
 
 #include "dns_sd.h"
-
 #include "ClientCommon.h"
 
 #if TEST_NEW_CLIENTSTUB