mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Continued working on date CSV import
SVN revision: 2164
This commit is contained in:
parent
f8cece95f4
commit
35d0a5223c
@ -14019,7 +14019,7 @@ void csv_import(LOGBOOK * lbs, const char *csv, const char *csvfile)
|
||||
BOOL first, in_quotes, filltext;
|
||||
time_t ltime;
|
||||
|
||||
list = xmalloc(MAX_N_ATTR * NAME_LENGTH);
|
||||
list = xmalloc((MAX_N_ATTR+2) * NAME_LENGTH);
|
||||
line = xmalloc(10000);
|
||||
|
||||
first = TRUE;
|
||||
@ -14199,6 +14199,7 @@ void csv_import(LOGBOOK * lbs, const char *csv, const char *csvfile)
|
||||
} else {
|
||||
|
||||
datecol = 1;
|
||||
attr_offset = 2;
|
||||
|
||||
if (isparam("preview")) {
|
||||
rsprintf("<tr>\n");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user