Diff
Not logged in

Differences From:

File src/info.c part of check-in [f0474b87b0] - Add the ability to edit check-in comments and users from the web interface. by drh on 2008-07-19 18:18:47. [view]

To:

File src/info.c part of check-in [89de100a2d] - Fix a bug in the check-in comment editor. Ticket 4b40f57449. by drh on 2008-07-24 15:02:37. [view]

@@ -1014,9 +1014,10 @@
       db_end_transaction(0);
     }
     cgi_redirectf("vinfo?name=%d", rid);
   }
-  blob_init(&comment, zNewComment, -1);
+  blob_zero(&comment);
+  blob_append(&comment, zNewComment, -1);
   zUuid[10] = 0;
   style_header("Edit Baseline [%s]", zUuid);
   @ <p>Make changes to the User and Comment for baseline
   @ [<a href="vinfo?name=%d(rid)">%s(zUuid)</a>] then press the