git.samba.org
/
obnox
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aac1e0
)
bugfix: don't crash, if cf->filename is NULL (which happens if an invalid capture...
author
ulfl
<ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 9 Jun 2005 19:55:55 +0000
(19:55 +0000)
committer
ulfl
<ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 9 Jun 2005 19:55:55 +0000
(19:55 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14601
f5534014
-38df-0310-8fa8-
9805f1628bb7
gtk/main.c
patch
|
blob
|
history
diff --git
a/gtk/main.c
b/gtk/main.c
index b4a0558016212ae14a173e9d955c91ef410f45e5..a582eb05adfade847d6b50b8931f6d12a5698583 100644
(file)
--- a/
gtk/main.c
+++ b/
gtk/main.c
@@
-1210,7
+1210,7
@@
set_display_filename(capture_file *cf)
/* statusbar */
status_msg = g_strdup_printf(" File: \"%s\" %s %02u:%02u:%02u",
-
cf->filename
, size_str,
+
(cf->filename) ? cf->filename : ""
, size_str,
cf->esec/3600, cf->esec%3600/60, cf->esec%60);
g_free(size_str);
statusbar_push_file_msg(status_msg);