Fossil SCM
Fix a bug that prevented clients from pushing SHA3 content up to servers.
Commit
9413c77358c094c54475f279cad07e6654590e22
Parent
6fc3bf94c7e04a8…
1 file changed
+1
+1
| --- src/xfer.c | ||
| +++ src/xfer.c | ||
| @@ -1768,10 +1768,11 @@ | ||
| 1768 | 1768 | memset(&xfer, 0, sizeof(xfer)); |
| 1769 | 1769 | xfer.pIn = &recv; |
| 1770 | 1770 | xfer.pOut = &send; |
| 1771 | 1771 | xfer.mxSend = db_get_int("max-upload", 250000); |
| 1772 | 1772 | xfer.maxTime = -1; |
| 1773 | + xfer.clientVersion = RELEASE_VERSION_NUMBER; | |
| 1773 | 1774 | if( syncFlags & SYNC_PRIVATE ){ |
| 1774 | 1775 | g.perm.Private = 1; |
| 1775 | 1776 | xfer.syncPrivate = 1; |
| 1776 | 1777 | } |
| 1777 | 1778 | |
| 1778 | 1779 |
| --- src/xfer.c | |
| +++ src/xfer.c | |
| @@ -1768,10 +1768,11 @@ | |
| 1768 | memset(&xfer, 0, sizeof(xfer)); |
| 1769 | xfer.pIn = &recv; |
| 1770 | xfer.pOut = &send; |
| 1771 | xfer.mxSend = db_get_int("max-upload", 250000); |
| 1772 | xfer.maxTime = -1; |
| 1773 | if( syncFlags & SYNC_PRIVATE ){ |
| 1774 | g.perm.Private = 1; |
| 1775 | xfer.syncPrivate = 1; |
| 1776 | } |
| 1777 | |
| 1778 |
| --- src/xfer.c | |
| +++ src/xfer.c | |
| @@ -1768,10 +1768,11 @@ | |
| 1768 | memset(&xfer, 0, sizeof(xfer)); |
| 1769 | xfer.pIn = &recv; |
| 1770 | xfer.pOut = &send; |
| 1771 | xfer.mxSend = db_get_int("max-upload", 250000); |
| 1772 | xfer.maxTime = -1; |
| 1773 | xfer.clientVersion = RELEASE_VERSION_NUMBER; |
| 1774 | if( syncFlags & SYNC_PRIVATE ){ |
| 1775 | g.perm.Private = 1; |
| 1776 | xfer.syncPrivate = 1; |
| 1777 | } |
| 1778 | |
| 1779 |