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.

stephan 2026-05-22 19:21 UTC forum-attachments
Commit 184de2d2afd78c20448fa0a78e48a34c274176d974927d47152bb0ad33a541eb
1 file changed +4 -2
+4 -2
--- src/manifest.c
+++ src/manifest.c
@@ -2653,15 +2653,17 @@
26532653
case 0:
26542654
attachToType = 'a';
26552655
if( isAdd ){
26562656
zComment = mprintf(
26572657
"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);
26592660
}else{
26602661
zComment = mprintf("Delete attachment \"%h\" from "
26612662
"[/artifact/%!S|%h",
2662
- p->zAttachName, p->zAttachTarget);
2663
+ p->zAttachName, p->zAttachTarget,
2664
+ p->zAttachTarget);
26632665
}
26642666
break;
26652667
case CFTYPE_WIKI:
26662668
attachToType = 'w';
26672669
if( isAdd ){
26682670
--- 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

Keyboard Shortcuts

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