mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-06 04:51:40 -07:00
typos again, too much copies and pastes...
This commit is contained in:
parent
60a9924547
commit
14ee7f2c83
2 changed files with 4 additions and 5 deletions
6
bfg.c
6
bfg.c
|
@ -228,7 +228,7 @@ char *bf_next(_Bool rainy) {
|
||||||
int mplmod2 = bf_options.current % 2;
|
int mplmod2 = bf_options.current % 2;
|
||||||
int strafeIndex;
|
int strafeIndex;
|
||||||
for(i=0; i<bf_options.current; ++i) {
|
for(i=0; i<bf_options.current; ++i) {
|
||||||
if(mplmod2) strafeIndex = (strafe[loop]+i)%bf_options.current;
|
if(mplmod2) strafeIndex = (bf_options.strafe+i)%bf_options.current;
|
||||||
else strafeIndex = (i+mpldisp)%bf_options.current;
|
else strafeIndex = (i+mpldisp)%bf_options.current;
|
||||||
|
|
||||||
bf_options.ptr[i] = bf_options.crs[(bf_options.state[strafeIndex] + bf_options.rotate) % bf_options.crs_len];
|
bf_options.ptr[i] = bf_options.crs[(bf_options.state[strafeIndex] + bf_options.rotate) % bf_options.crs_len];
|
||||||
|
@ -242,8 +242,8 @@ char *bf_next(_Bool rainy) {
|
||||||
} while(0)
|
} while(0)
|
||||||
|
|
||||||
int k = 0;
|
int k = 0;
|
||||||
accu(mpl);
|
accu(bf_options.current);
|
||||||
bf_options.rotate[loop] -= k-4;
|
bf_options.rotate -= k-4;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
for (i = 0; i < bf_options.current; i++)
|
for (i = 0; i < bf_options.current; i++)
|
||||||
|
|
3
hydra.h
3
hydra.h
|
@ -206,9 +206,8 @@ typedef struct {
|
||||||
char *server;
|
char *server;
|
||||||
char *service;
|
char *service;
|
||||||
char bfg;
|
char bfg;
|
||||||
_Bool rainy;
|
int8_t rainy;
|
||||||
int32_t skip_redo;
|
int32_t skip_redo;
|
||||||
_Bool rainy;
|
|
||||||
} hydra_option;
|
} hydra_option;
|
||||||
|
|
||||||
#define _HYDRA_H
|
#define _HYDRA_H
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue