Fossil SCM
Style tweaks.
Commit
46d74582d2223c9a2f46a213831de9def5f4cf60
Parent
a4e0d959db38af9…
1 file changed
+2
-3
+2
-3
| --- src/manifest.c | ||
| +++ src/manifest.c | ||
| @@ -254,11 +254,11 @@ | ||
| 254 | 254 | ** value. |
| 255 | 255 | ** |
| 256 | 256 | ** 0123456789 123456789 123456789 123456789 |
| 257 | 257 | ** Z aea84f4f863865a8d59d0384e4d2a41c |
| 258 | 258 | */ |
| 259 | -static int verify_z_card(const char *z, int n ){ | |
| 259 | +static int verify_z_card(const char *z, int n){ | |
| 260 | 260 | if( n<35 ) return 0; |
| 261 | 261 | if( z[n-35]!='Z' || z[n-34]!=' ' ) return 0; |
| 262 | 262 | md5sum_init(); |
| 263 | 263 | md5sum_step_text(z, n-35); |
| 264 | 264 | if( memcmp(&z[n-33], md5sum_finish(0), 32)==0 ){ |
| @@ -954,12 +954,11 @@ | ||
| 954 | 954 | blob_reset(&bUuid); |
| 955 | 955 | return p; |
| 956 | 956 | |
| 957 | 957 | manifest_syntax_error: |
| 958 | 958 | if(bUuid.nUsed){ |
| 959 | - blob_appendf(pErr, "manifest UUID %.40s ", | |
| 960 | - blob_str(&bUuid)); | |
| 959 | + blob_appendf(pErr, "manifest UUID %.40s ", blob_str(&bUuid)); | |
| 961 | 960 | blob_reset(&bUuid); |
| 962 | 961 | } |
| 963 | 962 | if( zErr ){ |
| 964 | 963 | blob_appendf(pErr, "line %d: %s", lineNo, zErr); |
| 965 | 964 | }else{ |
| 966 | 965 |
| --- src/manifest.c | |
| +++ src/manifest.c | |
| @@ -254,11 +254,11 @@ | |
| 254 | ** value. |
| 255 | ** |
| 256 | ** 0123456789 123456789 123456789 123456789 |
| 257 | ** Z aea84f4f863865a8d59d0384e4d2a41c |
| 258 | */ |
| 259 | static int verify_z_card(const char *z, int n ){ |
| 260 | if( n<35 ) return 0; |
| 261 | if( z[n-35]!='Z' || z[n-34]!=' ' ) return 0; |
| 262 | md5sum_init(); |
| 263 | md5sum_step_text(z, n-35); |
| 264 | if( memcmp(&z[n-33], md5sum_finish(0), 32)==0 ){ |
| @@ -954,12 +954,11 @@ | |
| 954 | blob_reset(&bUuid); |
| 955 | return p; |
| 956 | |
| 957 | manifest_syntax_error: |
| 958 | if(bUuid.nUsed){ |
| 959 | blob_appendf(pErr, "manifest UUID %.40s ", |
| 960 | blob_str(&bUuid)); |
| 961 | blob_reset(&bUuid); |
| 962 | } |
| 963 | if( zErr ){ |
| 964 | blob_appendf(pErr, "line %d: %s", lineNo, zErr); |
| 965 | }else{ |
| 966 |
| --- src/manifest.c | |
| +++ src/manifest.c | |
| @@ -254,11 +254,11 @@ | |
| 254 | ** value. |
| 255 | ** |
| 256 | ** 0123456789 123456789 123456789 123456789 |
| 257 | ** Z aea84f4f863865a8d59d0384e4d2a41c |
| 258 | */ |
| 259 | static int verify_z_card(const char *z, int n){ |
| 260 | if( n<35 ) return 0; |
| 261 | if( z[n-35]!='Z' || z[n-34]!=' ' ) return 0; |
| 262 | md5sum_init(); |
| 263 | md5sum_step_text(z, n-35); |
| 264 | if( memcmp(&z[n-33], md5sum_finish(0), 32)==0 ){ |
| @@ -954,12 +954,11 @@ | |
| 954 | blob_reset(&bUuid); |
| 955 | return p; |
| 956 | |
| 957 | manifest_syntax_error: |
| 958 | if(bUuid.nUsed){ |
| 959 | blob_appendf(pErr, "manifest UUID %.40s ", blob_str(&bUuid)); |
| 960 | blob_reset(&bUuid); |
| 961 | } |
| 962 | if( zErr ){ |
| 963 | blob_appendf(pErr, "line %d: %s", lineNo, zErr); |
| 964 | }else{ |
| 965 |