Fossil SCM

Typo corrections in comments only. No change in functionality.

andybradford 2023-12-01 22:37 trunk
Commit a8b6fdc83e8b539c4d5b53e7ab1230de19db88d8955ea89e153133a8eb564e4b
1 file changed +3 -3
+3 -3
--- src/xfer.c
+++ src/xfer.c
@@ -1584,11 +1584,11 @@
15841584
}else
15851585
15861586
15871587
/* pragma NAME VALUE...
15881588
**
1589
- ** The client issue pragmas to try to influence the behavior of the
1589
+ ** The client issues pragmas to try to influence the behavior of the
15901590
** server. These are requests only. Unknown pragmas are silently
15911591
** ignored.
15921592
*/
15931593
if( blob_eq(&xfer.aToken[0], "pragma") && xfer.nToken>=2 ){
15941594
@@ -2645,11 +2645,11 @@
26452645
** silently ignored.
26462646
*/
26472647
if( blob_eq(&xfer.aToken[0], "pragma") && xfer.nToken>=2 ){
26482648
/* pragma server-version VERSION ?DATE? ?TIME?
26492649
**
2650
- ** The servger announces to the server what version of Fossil it
2650
+ ** The server announces to the server what version of Fossil it
26512651
** is running. The DATE and TIME are a pure numeric ISO8601 time
26522652
** for the specific check-in of the client.
26532653
*/
26542654
if( xfer.nToken>=3 && blob_eq(&xfer.aToken[1], "server-version") ){
26552655
xfer.remoteVersion = atoi(blob_str(&xfer.aToken[2]));
@@ -2660,11 +2660,11 @@
26602660
}
26612661
26622662
/* pragma uv-pull-only
26632663
** pragma uv-push-ok
26642664
**
2665
- ** If the server is unwill to accept new unversioned content (because
2665
+ ** If the server is unwilling to accept new unversioned content (because
26662666
** this client lacks the necessary permissions) then it sends a
26672667
** "uv-pull-only" pragma so that the client will know not to waste
26682668
** bandwidth trying to upload unversioned content. If the server
26692669
** does accept new unversioned content, it sends "uv-push-ok".
26702670
*/
26712671
--- src/xfer.c
+++ src/xfer.c
@@ -1584,11 +1584,11 @@
1584 }else
1585
1586
1587 /* pragma NAME VALUE...
1588 **
1589 ** The client issue pragmas to try to influence the behavior of the
1590 ** server. These are requests only. Unknown pragmas are silently
1591 ** ignored.
1592 */
1593 if( blob_eq(&xfer.aToken[0], "pragma") && xfer.nToken>=2 ){
1594
@@ -2645,11 +2645,11 @@
2645 ** silently ignored.
2646 */
2647 if( blob_eq(&xfer.aToken[0], "pragma") && xfer.nToken>=2 ){
2648 /* pragma server-version VERSION ?DATE? ?TIME?
2649 **
2650 ** The servger announces to the server what version of Fossil it
2651 ** is running. The DATE and TIME are a pure numeric ISO8601 time
2652 ** for the specific check-in of the client.
2653 */
2654 if( xfer.nToken>=3 && blob_eq(&xfer.aToken[1], "server-version") ){
2655 xfer.remoteVersion = atoi(blob_str(&xfer.aToken[2]));
@@ -2660,11 +2660,11 @@
2660 }
2661
2662 /* pragma uv-pull-only
2663 ** pragma uv-push-ok
2664 **
2665 ** If the server is unwill to accept new unversioned content (because
2666 ** this client lacks the necessary permissions) then it sends a
2667 ** "uv-pull-only" pragma so that the client will know not to waste
2668 ** bandwidth trying to upload unversioned content. If the server
2669 ** does accept new unversioned content, it sends "uv-push-ok".
2670 */
2671
--- src/xfer.c
+++ src/xfer.c
@@ -1584,11 +1584,11 @@
1584 }else
1585
1586
1587 /* pragma NAME VALUE...
1588 **
1589 ** The client issues pragmas to try to influence the behavior of the
1590 ** server. These are requests only. Unknown pragmas are silently
1591 ** ignored.
1592 */
1593 if( blob_eq(&xfer.aToken[0], "pragma") && xfer.nToken>=2 ){
1594
@@ -2645,11 +2645,11 @@
2645 ** silently ignored.
2646 */
2647 if( blob_eq(&xfer.aToken[0], "pragma") && xfer.nToken>=2 ){
2648 /* pragma server-version VERSION ?DATE? ?TIME?
2649 **
2650 ** The server announces to the server what version of Fossil it
2651 ** is running. The DATE and TIME are a pure numeric ISO8601 time
2652 ** for the specific check-in of the client.
2653 */
2654 if( xfer.nToken>=3 && blob_eq(&xfer.aToken[1], "server-version") ){
2655 xfer.remoteVersion = atoi(blob_str(&xfer.aToken[2]));
@@ -2660,11 +2660,11 @@
2660 }
2661
2662 /* pragma uv-pull-only
2663 ** pragma uv-push-ok
2664 **
2665 ** If the server is unwilling to accept new unversioned content (because
2666 ** this client lacks the necessary permissions) then it sends a
2667 ** "uv-pull-only" pragma so that the client will know not to waste
2668 ** bandwidth trying to upload unversioned content. If the server
2669 ** does accept new unversioned content, it sends "uv-push-ok".
2670 */
2671

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button