mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
Removed size parameter in csv_import
SVN revision: 842
This commit is contained in:
parent
c61ae39ae3
commit
0d0acad429
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.305 2004/03/21 18:46:31 midas
|
||||||
|
Removed size parameter in csv_import
|
||||||
|
|
||||||
Revision 1.304 2004/03/21 18:42:59 midas
|
Revision 1.304 2004/03/21 18:42:59 midas
|
||||||
Implemented CSV import and XML export
|
Implemented CSV import and XML export
|
||||||
|
|
||||||
@ -9004,7 +9007,7 @@ void show_import_page(LOGBOOK * lbs)
|
|||||||
|
|
||||||
/*------------------------------------------------------------------*/
|
/*------------------------------------------------------------------*/
|
||||||
|
|
||||||
void csv_import(LOGBOOK * lbs, char *csv, int size, char *csvfile)
|
void csv_import(LOGBOOK * lbs, char *csv, char *csvfile)
|
||||||
{
|
{
|
||||||
char *list, *line, *p, str[256], date[80], sep[80];
|
char *list, *line, *p, str[256], date[80], sep[80];
|
||||||
int i, n, n_attr, iline, n_imported;
|
int i, n, n_attr, iline, n_imported;
|
||||||
@ -16804,7 +16807,7 @@ void decode_post(LOGBOOK * lbs, char *string, char *boundary, int length)
|
|||||||
/* import CSVfile */
|
/* import CSVfile */
|
||||||
if (file_name[0]) {
|
if (file_name[0]) {
|
||||||
setparam("csvfile", file_name);
|
setparam("csvfile", file_name);
|
||||||
csv_import(lbs, string, (int) (p - string), file_name);
|
csv_import(lbs, string, file_name);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user