git.samba.org
/
obnox
/
wireshark
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix gcc warning. (Sorry, but VS2008EE complains a LOT less.)
[obnox/wireshark/wip.git]
/
print.c
diff --git
a/print.c
b/print.c
index 5089c8dd60f7803255ec7dbeb4c146b11d3c9c43..aedcb2f88e1d1ed4d44b6f7f4abc46a9c43894cc 100644
(file)
--- 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;
}