mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-10-01 05:05:19 +00:00
Run indent
SVN revision: 2455
This commit is contained in:
parent
800f6a6c9a
commit
e73d03ddd6
10
src/elogd.c
10
src/elogd.c
@ -17406,7 +17406,8 @@ void display_line(LOGBOOK * lbs, int message_id, int number, char *mode, int exp
|
|||||||
my_strftime(str, sizeof(str), format, pts);
|
my_strftime(str, sizeof(str), format, pts);
|
||||||
|
|
||||||
if (disp_attr_link == NULL || disp_attr_link[index])
|
if (disp_attr_link == NULL || disp_attr_link[index])
|
||||||
rsprintf("\n<td class=\"%s\" %s><a href=\"%s\">%s</a></td>\n", tdstyle, nowrap, ref, str);
|
rsprintf("\n<td class=\"%s\" %s><a href=\"%s\">%s</a></td>\n", tdstyle, nowrap, ref,
|
||||||
|
str);
|
||||||
else
|
else
|
||||||
rsprintf("\n<td class=\"%s\" %s>%s</td>\n", tdstyle, nowrap, str);
|
rsprintf("\n<td class=\"%s\" %s>%s</td>\n", tdstyle, nowrap, str);
|
||||||
}
|
}
|
||||||
@ -17425,7 +17426,8 @@ void display_line(LOGBOOK * lbs, int message_id, int number, char *mode, int exp
|
|||||||
my_strftime(str, sizeof(str), format, pts);
|
my_strftime(str, sizeof(str), format, pts);
|
||||||
|
|
||||||
if (disp_attr_link == NULL || disp_attr_link[index])
|
if (disp_attr_link == NULL || disp_attr_link[index])
|
||||||
rsprintf("\n<td class=\"%s\" %s><a href=\"%s\">%s</a></td>\n", tdstyle, nowrap, ref, str);
|
rsprintf("\n<td class=\"%s\" %s><a href=\"%s\">%s</a></td>\n", tdstyle, nowrap, ref,
|
||||||
|
str);
|
||||||
else
|
else
|
||||||
rsprintf("\n<td class=\"%s\" %s>%s</td>\n", tdstyle, nowrap, str);
|
rsprintf("\n<td class=\"%s\" %s>%s</td>\n", tdstyle, nowrap, str);
|
||||||
}
|
}
|
||||||
@ -20820,8 +20822,7 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa
|
|||||||
subst_param(ref, sizeof(ref), "rsort", str);
|
subst_param(ref, sizeof(ref), "rsort", str);
|
||||||
} else {
|
} else {
|
||||||
if (ref[0] == 0) {
|
if (ref[0] == 0) {
|
||||||
if (getcfg(lbs->name, "Reverse sort", str2, sizeof(str2)) &&
|
if (getcfg(lbs->name, "Reverse sort", str2, sizeof(str2)) && atoi(str2) == 1)
|
||||||
atoi(str2) == 1)
|
|
||||||
sprintf(ref, "?rsort=%s", str);
|
sprintf(ref, "?rsort=%s", str);
|
||||||
else
|
else
|
||||||
sprintf(ref, "?sort=%s", str);
|
sprintf(ref, "?sort=%s", str);
|
||||||
@ -24836,7 +24837,6 @@ PMXML_NODE load_password_file(LOGBOOK * lbs, char *error, int error_size)
|
|||||||
strlcpy(error, str, error_size);
|
strlcpy(error, str, error_size);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef OS_WINNT
|
#ifdef OS_WINNT
|
||||||
if ((st.st_mode & _S_IWRITE) == 0) {
|
if ((st.st_mode & _S_IWRITE) == 0) {
|
||||||
#else
|
#else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user