\n");
- rsprintf("| %s: | ", loc("Entry date"));
+ rsprintf("
| %s: | ",
+ loc("Entry date"));
rsprintf("\n");
rsprintf("| %s: | ", loc("Start"));
-
+
show_date_selector(0, 0, 0, "a");
-
+
rsprintf(" / %s: ", loc("Show last"));
rsprintf(" | |
\n");
show_bottom_text(lbs);
@@ -7492,7 +7517,8 @@ int save_admin_config(char *section, char *buffer, char *error)
/* save tail */
buf2 = NULL;
- if (p2) {
+
+if (p2) {
buf2 = malloc(strlen(p2) + 1);
assert(buf2);
strlcpy(buf2, p2, strlen(p2) + 1);
@@ -9698,8 +9724,8 @@ void synchronize_logbook(LOGBOOK * lbs, BOOL bcron)
if (_logging_level > 1)
logf(lbs, "MIRROR send entry #%d", message_id);
-
- remote_id = 0;
+
+remote_id = 0;
if (!getcfg(lbs->name, "Mirror simulate", str) || atoi(str) == 0)
remote_id = submit_message(lbs, list[index], message_id, error_str);
all_identical = FALSE;
@@ -10190,8 +10216,9 @@ void display_line(LOGBOOK * lbs, int message_id, int number, char *mode,
else
strftime(str, sizeof(str), format, pts);
- rsprintf("| ");
if (expand == 2) {
- for (i = i_line = 0; i < (int)sizeof(str) - 1; i++) {
+ for (i = i_line = 0; i < (int) sizeof(str) - 1; i++) {
str[i] = text[i];
if (str[i] == '\n')
i_line++;
@@ -10249,7 +10276,7 @@ void display_line(LOGBOOK * lbs, int message_id, int number, char *mode,
if ((strieq(mode, "Summary") && n_line > 0)) {
rsprintf(" | ");
- for (i = i_line = 0; i < (int)sizeof(str) - 1; i++) {
+ for (i = i_line = 0; i < (int) sizeof(str) - 1; i++) {
str[i] = text[i];
if (str[i] == '\n')
i_line++;
@@ -10710,8 +10737,7 @@ BOOL is_command_allowed(LOGBOOK * lbs, char *command)
else if (command[0]) {
n = strbreak(menu_str, menu_item, MAX_N_LIST);
for (i = 0; i < n; i++)
- if (strieq(command, menu_item[i]) ||
- strieq(command, loc(menu_item[i])))
+ if (strieq(command, menu_item[i]) || strieq(command, loc(menu_item[i])))
break;
if (i == n) {
@@ -10753,11 +10779,12 @@ void build_ref(char *ref, int size, char *mode, char *expand)
/*------------------------------------------------------------------*/
-void show_page_filters(LOGBOOK * lbs, int n_msg, int page_n, BOOL mode_commands, BOOL threaded)
+void show_page_filters(LOGBOOK * lbs, int n_msg, int page_n, BOOL mode_commands,
+ BOOL threaded)
{
int cur_exp, n, i, j, index;
char ref[256], str[NAME_LENGTH], comment[NAME_LENGTH],
- list[MAX_N_LIST][NAME_LENGTH], option[NAME_LENGTH];
+ list[MAX_N_LIST][NAME_LENGTH], option[NAME_LENGTH];
rsprintf(" |