diff --git a/client/main.h b/client/main.h index edac0f98b4..44197761c0 100644 --- a/client/main.h +++ b/client/main.h @@ -1,6 +1,6 @@ #ifdef _WIN32 extern int boinc_main_loop(int argc, char** argv); extern void quit_client(); -extern void susp_client(); +extern void suspend_client(); extern void resume_client(); #endif diff --git a/client/win/win_service.cpp b/client/win/win_service.cpp index cf17785682..18d0278b6a 100644 --- a/client/win/win_service.cpp +++ b/client/win/win_service.cpp @@ -144,7 +144,7 @@ VOID WINAPI service_ctrl(DWORD dwCtrlCode) // case SERVICE_CONTROL_PAUSE: ReportStatus(SERVICE_PAUSE_PENDING, ERROR_SUCCESS, 10000); - susp_client(); + suspend_client(); ReportStatus(SERVICE_PAUSED, ERROR_SUCCESS, 10000); return;