diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2019-12-01 14:00:49 +1100 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2020-01-24 09:54:29 -0600 |
| commit | 471daeea559ada7ac215806d55f2f686e7389608 (patch) | |
| tree | c283027795a31511782327a4307a6a639e325762 /src/netops.h | |
| parent | 297c61e41f23caacb39d8c00957fd5ec050c9cbf (diff) | |
| download | libgit2-471daeea559ada7ac215806d55f2f686e7389608.tar.gz | |
net: refactor gitno redirect handling
Move the redirect handling into `git_net_url` for consistency.
Diffstat (limited to 'src/netops.h')
| -rw-r--r-- | src/netops.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/netops.h b/src/netops.h index 4c4bf78b0..52f1cccb6 100644 --- a/src/netops.h +++ b/src/netops.h @@ -65,15 +65,4 @@ int gitno_recv(gitno_buffer *buf); void gitno_consume(gitno_buffer *buf, const char *ptr); void gitno_consume_n(gitno_buffer *buf, size_t cons); -/* - * This replaces all the pointers in `data` with freshly-allocated strings, - * that the caller is responsible for freeing. - * `gitno_connection_data_free_ptrs` is good for this. - */ - -int gitno_connection_data_handle_redirect( - git_net_url *data, - const char *url, - const char *service_suffix); - #endif |
