Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
12b1f2ec
Commit
12b1f2ec
authored
Nov 30, 2007
by
Howard Chu
Browse files
sync with HEAD again
parent
f9687631
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblutil/utils.c
View file @
12b1f2ec
...
...
@@ -641,11 +641,13 @@ scale( int new, lutil_int_decnum *prev, unsigned char *tmp )
}
out
=
tmp
+
prev
->
bufsiz
;
for
(
i
=
-
1
;
new
;
i
--
)
{
i
=
0
;
do
{
i
--
;
new
+=
out
[
i
];
out
[
i
]
=
new
&
0xff
;
new
>>=
8
;
}
}
while
(
new
);
prev
->
beg
=
prev
->
bufsiz
+
i
;
prev
->
len
=
-
i
;
AC_MEMCPY
(
prev
->
buf
+
prev
->
beg
,
tmp
+
prev
->
beg
,
prev
->
len
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment