diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-03-01 12:54:59 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-03-01 12:54:59 +0000 |
commit | 4d12be98678ece6c9491197335b7abba876924e7 (patch) | |
tree | 6b2bd5b7e3ea7d4bdf926baaf388c6cdd87f6ab6 /lib/base64.c | |
parent | 87e7f4f688d4a1fa601c59c56d0fe4055df806ba (diff) | |
download | curl-4d12be98678ece6c9491197335b7abba876924e7.tar.gz |
removed an unnecessary shift and splut up som weird two-statements-per-line
code
Diffstat (limited to 'lib/base64.c')
-rw-r--r-- | lib/base64.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/base64.c b/lib/base64.c index 7ff8553f2..4af1d72e7 100644 --- a/lib/base64.c +++ b/lib/base64.c @@ -65,9 +65,11 @@ static void decodeQuantum(unsigned char *dest, const char *src) x = (x << 6); } - dest[2] = (unsigned char)(x & 255); x >>= 8; - dest[1] = (unsigned char)(x & 255); x >>= 8; - dest[0] = (unsigned char)(x & 255); x >>= 8; + dest[2] = (unsigned char)(x & 255); + x >>= 8; + dest[1] = (unsigned char)(x & 255); + x >>= 8; + dest[0] = (unsigned char)(x & 255); } /* |