diff os_support.c @ 2052:3d04317ab396 libavformat

cosmetics: Remove trailing whitespace and tabs.
author diego
date Thu, 26 Apr 2007 19:27:32 +0000
parents 612d19cb9550
children 857fbfeb2fa0
line wrap: on
line diff
--- a/os_support.c	Thu Apr 26 18:31:33 2007 +0000
+++ b/os_support.c	Thu Apr 26 19:27:32 2007 +0000
@@ -105,12 +105,12 @@
 int resolve_host(struct in_addr *sin_addr, const char *hostname)
 {
     struct hostent *hp;
-    
+
     if (!inet_aton(hostname, sin_addr)) {
-	hp = gethostbyname(hostname);
-	if (!hp)
-	    return -1;
-	memcpy(sin_addr, hp->h_addr, sizeof(struct in_addr));
+        hp = gethostbyname(hostname);
+        if (!hp)
+            return -1;
+        memcpy(sin_addr, hp->h_addr, sizeof(struct in_addr));
     }
     return 0;
 }