Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-06-11 09:54:48 +0300
committerCarlos Martín Nieto <cmn@dwim.me>2015-06-11 09:54:48 +0300
commit2deb36081c0723fb5fb54e5ee67d14e09635904b (patch)
treece3f44d5f9ceefef1bf6b84419bb6ccc7a5f0a2f /include
parentfa934fabf76c06e843e9bb22d6679b3e882c3e4e (diff)
parent462865d7025807beab1323f85ceb055ed9ea2bfb (diff)
Merge pull request #3155 from mgorny/userpass-const
cred_helpers: Add 'const' qualifiers to git_cred_userpass_payload
Diffstat (limited to 'include')
-rw-r--r--include/git2/cred_helpers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/cred_helpers.h b/include/git2/cred_helpers.h
index 1d8809211..840c22536 100644
--- a/include/git2/cred_helpers.h
+++ b/include/git2/cred_helpers.h
@@ -22,8 +22,8 @@ GIT_BEGIN_DECL
* Payload for git_cred_stock_userpass_plaintext.
*/
typedef struct git_cred_userpass_payload {
- char *username;
- char *password;
+ const char *username;
+ const char *password;
} git_cred_userpass_payload;