Mercurial > libavformat.hg
diff barpainet.c @ 885:da1d5db0ce5c libavformat
COSMETICS: Remove all trailing whitespace.
| author | diego |
|---|---|
| date | Sat, 17 Dec 2005 18:14:38 +0000 |
| parents | 05318cf2e886 |
| children | d70e50f1495f |
line wrap: on
line diff
--- a/barpainet.c Sat Dec 17 17:57:03 2005 +0000 +++ b/barpainet.c Sat Dec 17 18:14:38 2005 +0000 @@ -6,7 +6,7 @@ int inet_aton (const char * str, struct in_addr * add) { const char * pch = str; unsigned int add1 = 0, add2 = 0, add3 = 0, add4 = 0; - + add1 = atoi(pch); pch = strpbrk(pch,"."); if (pch == 0 || ++pch == 0) goto done; @@ -20,6 +20,6 @@ done: add->s_addr=(add4<<24)+(add3<<16)+(add2<<8)+add1; - - return 1; + + return 1; }
