FreeBSD Bugzilla – Attachment 53736 Details for
Bug 81275
FIX: Hydra port does not compile xhydra
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-ac
patch-ac (text/x-diff; charset=us-ascii), 1.60 KB, created by
Nicolas Blais
on 2005-05-20 22:45:13 UTC
(
hide
)
Description:
patch-ac
Filename:
MIME Type:
Creator:
Nicolas Blais
Created:
2005-05-20 22:45:13 UTC
Size:
1.60 KB
patch
obsolete
>--- hydra-gtk/src/callbacks.c.orig Fri May 20 17:38:13 2005 >+++ hydra-gtk/src/callbacks.c Fri May 20 17:41:00 2005 >@@ -69,21 +69,6 @@ > > options[0] = HYDRA_BIN; > >- /* get the target, or target list */ >- widget = lookup_widget(GTK_WIDGET(wndMain), "radioTarget1"); >- if ( gtk_toggle_button_get_active((GtkToggleButton *) widget) ){ >- widget = lookup_widget(GTK_WIDGET(wndMain), "entTarget"); >- options[i++] = (char *) gtk_entry_get_text((GtkEntry *) widget); >- } else { >- options[i++] = "-M"; >- widget = lookup_widget(GTK_WIDGET(wndMain), "entTargetFile"); >- options[i++] = (char *) gtk_entry_get_text((GtkEntry *) widget); >- } >- >- /* get the service */ >- widget = lookup_widget(GTK_WIDGET(wndMain), "entProtocol"); >- options[i++] = (char *) gtk_entry_get_text((GtkEntry *) widget); >- > /* get the port */ > widget = lookup_widget(GTK_WIDGET(wndMain), "spnPort"); > j = gtk_spin_button_get_value_as_int((GtkSpinButton *) widget); >@@ -307,6 +292,21 @@ > } > } > >+ /* get the target, or target list */ >+ widget = lookup_widget(GTK_WIDGET(wndMain), "radioTarget1"); >+ if ( gtk_toggle_button_get_active((GtkToggleButton *) widget) ){ >+ widget = lookup_widget(GTK_WIDGET(wndMain), "entTarget"); >+ options[i++] = (char *) gtk_entry_get_text((GtkEntry *) widget); >+ } else { >+ options[i++] = "-M"; >+ widget = lookup_widget(GTK_WIDGET(wndMain), "entTargetFile"); >+ options[i++] = (char *) gtk_entry_get_text((GtkEntry *) widget); >+ } >+ >+ /* get the service */ >+ widget = lookup_widget(GTK_WIDGET(wndMain), "entProtocol"); >+ options[i++] = (char *) gtk_entry_get_text((GtkEntry *) widget); >+ > options[i] = NULL; > return i; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 81275
:
53730
|
53731
|
53732
|
53733
|
53734
|
53735
| 53736