stream: constify the write buffer

This commit is contained in:
Carlos Martín Nieto
2014-12-10 16:20:52 +01:00
parent 1b75c29e3e
commit 49ae22baac
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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;