projects
/
swift-upb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bogus http gw fixes
[swift-upb.git]
/
transfer.cpp
diff --git
a/transfer.cpp
b/transfer.cpp
index
34e51ec
..
ad121f3
100644
(file)
--- a/
transfer.cpp
+++ b/
transfer.cpp
@@
-45,7
+45,8
@@
void swift::AddProgressCallback (int transfer,ProgressCallback cb,uint8_t agg) {
if (!trans)
return;
trans->cb_agg[trans->cb_installed] = agg;
- trans->callbacks[trans->cb_installed++] = cb;
+ trans->callbacks[trans->cb_installed] = cb;
+ trans->cb_installed++;
}