mirror of
https://git.proxmox.com/git/libgit2
synced 2026-08-26 18:28:53 +00:00
stream: constify the write buffer
This commit is contained in:
@@ -32,7 +32,7 @@ typedef struct git_stream {
|
||||
int (*connect)(struct git_stream *);
|
||||
int (*certificate)(git_cert **, struct git_stream *);
|
||||
ssize_t (*read)(struct git_stream *, void *, size_t);
|
||||
ssize_t (*write)(struct git_stream *, void *, size_t, int);
|
||||
ssize_t (*write)(struct git_stream *, const char *, size_t, int);
|
||||
int (*close)(struct git_stream *);
|
||||
void (*free)(struct git_stream *);
|
||||
} git_stream;
|
||||
|
||||
Reference in New Issue
Block a user