Update callbacks.c

This commit is contained in:
Petar Kaleychev 2016-07-03 21:37:27 +03:00 committed by GitHub
parent 00a27e368f
commit 5c706a0b5f

View file

@ -89,6 +89,12 @@ int hydra_get_options(char *options[]) {
options[i++] = "-S";
}
/* use old SSL? */
widget = lookup_widget(GTK_WIDGET(wndMain), "chkOldSSL");
if (gtk_toggle_button_get_active((GtkToggleButton *) widget)) {
options[i++] = "-O";
}
/* be verbose? */
widget = lookup_widget(GTK_WIDGET(wndMain), "chkVerbose");
if (gtk_toggle_button_get_active((GtkToggleButton *) widget)) {