aboutsummaryrefslogtreecommitdiffstats
path: root/print.c
diff options
context:
space:
mode:
authorcmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7>2010-11-08 17:54:32 +0000
committercmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7>2010-11-08 17:54:32 +0000
commit0b8adb2f90763dafefacb367c7af6c37df7ff467 (patch)
treecb23f496e2887bf01175225ce13f1598f0e1a8a0 /print.c
parentcb3dc24d93b4bb8db93fbe41e01ed5dce4f4a42e (diff)
Fix gcc warning. (Sorry, but VS2008EE complains a LOT less.)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34809 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'print.c')
-rw-r--r--print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print.c b/print.c
index 5089c8dd60..aedcb2f88e 100644
--- a/print.c
+++ b/print.c
@@ -622,7 +622,7 @@ static gchar *csv_massage_str(const gchar *source, const gchar *exceptions)
csv_str = g_strescape(source, exceptions);
tmp_str = csv_str;
- while ( tmp_str = strstr(tmp_str, "\\\"") )
+ while ( (tmp_str = strstr(tmp_str, "\\\"")) != NULL )
*tmp_str = '\"';
return csv_str;
}