File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ static void net_set_error(const char *str)
3838 git_error_set (GIT_ERROR_NET , "%s: %s" , str , win32_error );
3939 git__free (win32_error );
4040 } else {
41- git_error_set (GITERR_NET , "%s" , str );
41+ git_error_set (GIT_ERROR_NET , "%s" , str );
4242 }
4343}
4444#else
Original file line number Diff line number Diff line change @@ -719,7 +719,7 @@ static void CALLBACK winhttp_status(
719719 else if ((status & WINHTTP_CALLBACK_STATUS_FLAG_SECURITY_CHANNEL_ERROR ))
720720 git_error_set (GIT_ERROR_NET , "security libraries could not be loaded" );
721721 else
722- git_error_set (GITERR_NET , "unknown security error %lu" , status );
722+ git_error_set (GIT_ERROR_NET , "unknown security error %lu" , status );
723723}
724724
725725static int winhttp_connect (
@@ -1142,7 +1142,7 @@ static int winhttp_stream_read(
11421142 }
11431143
11441144 if (HTTP_STATUS_OK != status_code ) {
1145- git_error_set (GITERR_NET , "request failed with status code: %lu" , status_code );
1145+ git_error_set (GIT_ERROR_NET , "request failed with status code: %lu" , status_code );
11461146 return -1 ;
11471147 }
11481148
You can’t perform that action at this time.
0 commit comments