changeset 2052:3d04317ab396 libavformat

cosmetics: Remove trailing whitespace and tabs.
author diego
date Thu, 26 Apr 2007 19:27:32 +0000
parents 72377d102d60
children 4611fce2f394
files os_support.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
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;
 }