mirror of
https://github.com/BlackLight/Snort_AIPreproc.git
synced 2024-11-24 04:35:11 +01:00
Fixed a stupid dropped line
This commit is contained in:
parent
7772c9b089
commit
3acae51d9a
1 changed files with 1 additions and 1 deletions
2
neural.c
2
neural.c
|
@ -277,7 +277,7 @@ __AI_som_train ()
|
||||||
{
|
{
|
||||||
row = (DB_row) DB_fetch_row ( res );
|
row = (DB_row) DB_fetch_row ( res );
|
||||||
|
|
||||||
|
tuples[i].gid = row[0] ? strtoul ( row[1], NULL, 10 ) : 0;
|
||||||
tuples[i].sid = row[1] ? strtoul ( row[1], NULL, 10 ) : 0;
|
tuples[i].sid = row[1] ? strtoul ( row[1], NULL, 10 ) : 0;
|
||||||
tuples[i].rev = row[2] ? strtoul ( row[2], NULL, 10 ) : 0;
|
tuples[i].rev = row[2] ? strtoul ( row[2], NULL, 10 ) : 0;
|
||||||
tuples[i].timestamp = row[3] ? (time_t) strtol ( row[3], NULL, 10 ) : (time_t) 0;
|
tuples[i].timestamp = row[3] ? (time_t) strtol ( row[3], NULL, 10 ) : (time_t) 0;
|
||||||
|
|
Loading…
Reference in a new issue