From: Ben Feinstein <[EMAIL PROTECTED]>

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

_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools

Reply via email to