From nobody Mon Sep 17 00:00:00 2001
From: Ben Feinstein <ben@audiun.com>
Date: Sat, 10 Jun 2006 21:01:04 +0400
Subject: [PATCH 8/8] Fix unitialized variable in flow-export.c
Without this patch, flow-export utility will misformat its SQL output when
using the MySQL output format causing the export to fail. Specifcally, the
commas between the fields are getting mangled.
---
src/flow-export.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
bcb0b33cc9bb9427726db853a093d081dc77a1c6
diff --git a/src/flow-export.c b/src/flow-export.c
index 52ae4d2..22b0330 100644
--- a/src/flow-export.c
+++ b/src/flow-export.c
@@ -961,7 +961,7 @@ #endif /* PGSQL */
int fmt_xfields_type(char *buf, u_int64 xfield)
{
- int comma;
+ int comma = 0;
buf[0] = 0;
--
1.3.3