Fossil SCM

Use C89 comments (not C99 style). Only the comment delimiters have been changed.

dave.vines 2016-08-01 12:40 djvfixcommentstyle
Commit c665a2f2144055496feb44c68534a754bd0d7de9
1 file changed +1 -1
+1 -1
--- src/attach.c
+++ src/attach.c
@@ -86,11 +86,11 @@
8686
const char *zFilename = db_column_text(&q, 3);
8787
const char *zComment = db_column_text(&q, 4);
8888
const char *zUser = db_column_text(&q, 5);
8989
const char *zUuid = db_column_text(&q, 6);
9090
int attachid = db_column_int(&q, 7);
91
- // type 0 is a wiki page, 1 is a ticket, 2 is a tech note
91
+ /* type 0 is a wiki page, 1 is a ticket, 2 is a tech note */
9292
int type = db_column_int(&q, 8);
9393
const char *zDispUser = zUser && zUser[0] ? zUser : "anonymous";
9494
int i;
9595
char *zUrlTail;
9696
for(i=0; zFilename[i]; i++){
9797
--- src/attach.c
+++ src/attach.c
@@ -86,11 +86,11 @@
86 const char *zFilename = db_column_text(&q, 3);
87 const char *zComment = db_column_text(&q, 4);
88 const char *zUser = db_column_text(&q, 5);
89 const char *zUuid = db_column_text(&q, 6);
90 int attachid = db_column_int(&q, 7);
91 // type 0 is a wiki page, 1 is a ticket, 2 is a tech note
92 int type = db_column_int(&q, 8);
93 const char *zDispUser = zUser && zUser[0] ? zUser : "anonymous";
94 int i;
95 char *zUrlTail;
96 for(i=0; zFilename[i]; i++){
97
--- src/attach.c
+++ src/attach.c
@@ -86,11 +86,11 @@
86 const char *zFilename = db_column_text(&q, 3);
87 const char *zComment = db_column_text(&q, 4);
88 const char *zUser = db_column_text(&q, 5);
89 const char *zUuid = db_column_text(&q, 6);
90 int attachid = db_column_int(&q, 7);
91 /* type 0 is a wiki page, 1 is a ticket, 2 is a tech note */
92 int type = db_column_int(&q, 8);
93 const char *zDispUser = zUser && zUser[0] ? zUser : "anonymous";
94 int i;
95 char *zUrlTail;
96 for(i=0; zFilename[i]; i++){
97

Keyboard Shortcuts

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