mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-26 18:08:20 +00:00
Remove NO-BREAK SPACE character (utf8) from sources
This commit is contained in:
parent
714b53015d
commit
0997ae029e
@ -84,7 +84,7 @@ endif
|
|||||||
ifeq ($(DEBUG),1)
|
ifeq ($(DEBUG),1)
|
||||||
$(warning "## ADL is found ? $(FOUND_ADL)")
|
$(warning "## ADL is found ? $(FOUND_ADL)")
|
||||||
$(warning "## NVML is found ? $(FOUND_NVML)")
|
$(warning "## NVML is found ? $(FOUND_NVML)")
|
||||||
$(warning "## NVAPI is found ? $(FOUND_NVAPI)")
|
$(warning "## NVAPI is found ? $(FOUND_NVAPI)")
|
||||||
endif
|
endif
|
||||||
|
|
||||||
##
|
##
|
||||||
|
@ -1541,7 +1541,7 @@ void status_display ()
|
|||||||
{
|
{
|
||||||
char utilization[HM_STR_BUF_SIZE] = { 0 };
|
char utilization[HM_STR_BUF_SIZE] = { 0 };
|
||||||
char temperature[HM_STR_BUF_SIZE] = { 0 };
|
char temperature[HM_STR_BUF_SIZE] = { 0 };
|
||||||
char fanspeed[HM_STR_BUF_SIZE] = { 0 };
|
char fanspeed[HM_STR_BUF_SIZE] = { 0 };
|
||||||
|
|
||||||
hm_device_val_to_str ((char *) utilization, HM_STR_BUF_SIZE, "%", hm_get_utilization_with_device_id (device_id));
|
hm_device_val_to_str ((char *) utilization, HM_STR_BUF_SIZE, "%", hm_get_utilization_with_device_id (device_id));
|
||||||
hm_device_val_to_str ((char *) temperature, HM_STR_BUF_SIZE, "c", hm_get_temperature_with_device_id (device_id));
|
hm_device_val_to_str ((char *) temperature, HM_STR_BUF_SIZE, "c", hm_get_temperature_with_device_id (device_id));
|
||||||
@ -1563,7 +1563,7 @@ void status_display ()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
char utilization[HM_STR_BUF_SIZE] = { 0 };
|
char utilization[HM_STR_BUF_SIZE] = { 0 };
|
||||||
char temperature[HM_STR_BUF_SIZE] = { 0 };
|
char temperature[HM_STR_BUF_SIZE] = { 0 };
|
||||||
|
|
||||||
hm_device_val_to_str ((char *) utilization, HM_STR_BUF_SIZE, "%", hm_get_utilization_with_device_id (device_id));
|
hm_device_val_to_str ((char *) utilization, HM_STR_BUF_SIZE, "%", hm_get_utilization_with_device_id (device_id));
|
||||||
|
@ -8741,7 +8741,7 @@ restore_data_t *init_restore (int argc, char **argv)
|
|||||||
#elif _WIN
|
#elif _WIN
|
||||||
HANDLE hProcess = OpenProcess (PROCESS_ALL_ACCESS, FALSE, rd->pid);
|
HANDLE hProcess = OpenProcess (PROCESS_ALL_ACCESS, FALSE, rd->pid);
|
||||||
|
|
||||||
char pidbin2[BUFSIZ] = { 0 };
|
char pidbin2[BUFSIZ] = { 0 };
|
||||||
|
|
||||||
int pidbin2_len = -1;
|
int pidbin2_len = -1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user