Fossil SCM
Fix an incorrect comment in terms of content.
Commit
d83de4a2d36a22242220dabdf5257eeefa4d7925c0e0264d67963058866f7300
Parent
490ddadcfa4a153…
1 file changed
+1
-1
+1
-1
| --- src/util.c | ||
| +++ src/util.c | ||
| @@ -918,11 +918,11 @@ | ||
| 918 | 918 | unsigned char *p = zStr; |
| 919 | 919 | int i, k; |
| 920 | 920 | |
| 921 | 921 | sqlite3_randomness(16, aBlob); |
| 922 | 922 | aBlob[6] = (aBlob[6]&0x0f) + 0x40; /* Version byte: 0100 xxxx */ |
| 923 | - aBlob[8] = (aBlob[8]&0x3f) + 0x80; /* Variant byte: 1000 xxxx */ | |
| 923 | + aBlob[8] = (aBlob[8]&0x3f) + 0x80; /* Variant byte: 10xx xxxx */ | |
| 924 | 924 | |
| 925 | 925 | for(i=0, k=0x550; i<16; i++, k=k>>1){ |
| 926 | 926 | if( k&1 ){ |
| 927 | 927 | *p++ = '-'; /* Add a dash after byte 4, 6, 8, and 12 */ |
| 928 | 928 | } |
| 929 | 929 |
| --- src/util.c | |
| +++ src/util.c | |
| @@ -918,11 +918,11 @@ | |
| 918 | unsigned char *p = zStr; |
| 919 | int i, k; |
| 920 | |
| 921 | sqlite3_randomness(16, aBlob); |
| 922 | aBlob[6] = (aBlob[6]&0x0f) + 0x40; /* Version byte: 0100 xxxx */ |
| 923 | aBlob[8] = (aBlob[8]&0x3f) + 0x80; /* Variant byte: 1000 xxxx */ |
| 924 | |
| 925 | for(i=0, k=0x550; i<16; i++, k=k>>1){ |
| 926 | if( k&1 ){ |
| 927 | *p++ = '-'; /* Add a dash after byte 4, 6, 8, and 12 */ |
| 928 | } |
| 929 |
| --- src/util.c | |
| +++ src/util.c | |
| @@ -918,11 +918,11 @@ | |
| 918 | unsigned char *p = zStr; |
| 919 | int i, k; |
| 920 | |
| 921 | sqlite3_randomness(16, aBlob); |
| 922 | aBlob[6] = (aBlob[6]&0x0f) + 0x40; /* Version byte: 0100 xxxx */ |
| 923 | aBlob[8] = (aBlob[8]&0x3f) + 0x80; /* Variant byte: 10xx xxxx */ |
| 924 | |
| 925 | for(i=0, k=0x550; i<16; i++, k=k>>1){ |
| 926 | if( k&1 ){ |
| 927 | *p++ = '-'; /* Add a dash after byte 4, 6, 8, and 12 */ |
| 928 | } |
| 929 |