Dangerous Function Cast at print_dlg.c:317 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
export_psml_cmd_cb (/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/print_dlg.c)![]() | ||||||
![]() | ||||||
307 | args->print_summary = TRUE; | |||||
308 | args->print_dissections = print_dissections_as_displayed; | |||||
309 | args->print_hex = FALSE; | |||||
310 | args->print_formfeed = FALSE; | |||||
311 | } | |||||
312 | ||||||
313 | /* init the printing range */ | |||||
314 | packet_range_init(&args->range); | |||||
315 | ||||||
316 | export_psml_win = open_print_dialog("Wireshark: Export as \"PSML\" file", output_action_export_psml, args); | |||||
317 | g_signal_connect(export_psml_win, "destroy", G_CALLBACK(print_destroy_cb), &export_psml_win);
| |||||
318 | } | |||||
319 | ||||||
320 | ||||||
321 | /* | |||||
322 | * Keep a static pointer to the current "Export pdml" window, if any, so that if | |||||
323 | * somebody tries to do "File:Export to pdml" while there's already a "Export pdml" window | |||||
324 | * up, we just pop up the existing one, rather than creating a new one. | |||||
325 | */ | |||||
326 | static GtkWidget *export_pdml_win = NULL; | |||||
327 | ||||||
![]() |