aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/barpainet.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2005-12-17 18:14:38 +0000
committerDiego Biurrun <diego@biurrun.de>2005-12-17 18:14:38 +0000
commit115329f16062074e11ccf3b89ead6176606c9696 (patch)
treee98aa993905a702688bf821737ab9a443969fc28 /libavformat/barpainet.c
parentd76319b1ab716320f6e6a4d690b85fe4504ebd5b (diff)
downloadffmpeg-115329f16062074e11ccf3b89ead6176606c9696.tar.gz
COSMETICS: Remove all trailing whitespace.
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/barpainet.c')
-rw-r--r--libavformat/barpainet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/barpainet.c b/libavformat/barpainet.c
index c1e8877718..8e66098b07 100644
--- a/libavformat/barpainet.c
+++ b/libavformat/barpainet.c
@@ -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 @@ int inet_aton (const char * str, struct in_addr * add) {
done:
add->s_addr=(add4<<24)+(add3<<16)+(add2<<8)+add1;
-
- return 1;
+
+ return 1;
}