Fossil SCM
Correct a misformated variadic caused by emacs having chased a compileation error into the generated build/manifest_.c and my having edited that instead of the original src/manifest.c.
Commit
184de2d2afd78c20448fa0a78e48a34c274176d974927d47152bb0ad33a541eb
Parent
efe251332943eb7…
1 file changed
+4
-2
+4
-2
| --- src/manifest.c | ||
| +++ src/manifest.c | ||
| @@ -2653,15 +2653,17 @@ | ||
| 2653 | 2653 | case 0: |
| 2654 | 2654 | attachToType = 'a'; |
| 2655 | 2655 | if( isAdd ){ |
| 2656 | 2656 | zComment = mprintf( |
| 2657 | 2657 | "Add attachment [/artifact/%!S|%h] to [/artifact/%!S|%h]", |
| 2658 | - p->zAttachSrc, p->zAttachName, p->zAttachTarget); | |
| 2658 | + p->zAttachSrc, p->zAttachName, | |
| 2659 | + p->zAttachTarget, p->zAttachTarget); | |
| 2659 | 2660 | }else{ |
| 2660 | 2661 | zComment = mprintf("Delete attachment \"%h\" from " |
| 2661 | 2662 | "[/artifact/%!S|%h", |
| 2662 | - p->zAttachName, p->zAttachTarget); | |
| 2663 | + p->zAttachName, p->zAttachTarget, | |
| 2664 | + p->zAttachTarget); | |
| 2663 | 2665 | } |
| 2664 | 2666 | break; |
| 2665 | 2667 | case CFTYPE_WIKI: |
| 2666 | 2668 | attachToType = 'w'; |
| 2667 | 2669 | if( isAdd ){ |
| 2668 | 2670 |
| --- src/manifest.c | |
| +++ src/manifest.c | |
| @@ -2653,15 +2653,17 @@ | |
| 2653 | case 0: |
| 2654 | attachToType = 'a'; |
| 2655 | if( isAdd ){ |
| 2656 | zComment = mprintf( |
| 2657 | "Add attachment [/artifact/%!S|%h] to [/artifact/%!S|%h]", |
| 2658 | p->zAttachSrc, p->zAttachName, p->zAttachTarget); |
| 2659 | }else{ |
| 2660 | zComment = mprintf("Delete attachment \"%h\" from " |
| 2661 | "[/artifact/%!S|%h", |
| 2662 | p->zAttachName, p->zAttachTarget); |
| 2663 | } |
| 2664 | break; |
| 2665 | case CFTYPE_WIKI: |
| 2666 | attachToType = 'w'; |
| 2667 | if( isAdd ){ |
| 2668 |
| --- src/manifest.c | |
| +++ src/manifest.c | |
| @@ -2653,15 +2653,17 @@ | |
| 2653 | case 0: |
| 2654 | attachToType = 'a'; |
| 2655 | if( isAdd ){ |
| 2656 | zComment = mprintf( |
| 2657 | "Add attachment [/artifact/%!S|%h] to [/artifact/%!S|%h]", |
| 2658 | p->zAttachSrc, p->zAttachName, |
| 2659 | p->zAttachTarget, p->zAttachTarget); |
| 2660 | }else{ |
| 2661 | zComment = mprintf("Delete attachment \"%h\" from " |
| 2662 | "[/artifact/%!S|%h", |
| 2663 | p->zAttachName, p->zAttachTarget, |
| 2664 | p->zAttachTarget); |
| 2665 | } |
| 2666 | break; |
| 2667 | case CFTYPE_WIKI: |
| 2668 | attachToType = 'w'; |
| 2669 | if( isAdd ){ |
| 2670 |