diff options
author | nulltoken <emeric.fermas@gmail.com> | 2013-10-14 17:12:47 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2013-10-15 21:56:05 +0400 |
commit | b10c4b6e4cc8e15e80313650badea5734037d5cf (patch) | |
tree | e60b606f0e21f7bb5a4aba856d62cc186a5d4d14 /LibGit2Sharp/RemoteCallbacks.cs | |
parent | 75eaceb3b4aa3fa30cf7b2d6876679d1986af0bb (diff) |
Make string marshaling either lax or strict
Diffstat (limited to 'LibGit2Sharp/RemoteCallbacks.cs')
-rw-r--r-- | LibGit2Sharp/RemoteCallbacks.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LibGit2Sharp/RemoteCallbacks.cs b/LibGit2Sharp/RemoteCallbacks.cs index e00bd9af..5815ed02 100644 --- a/LibGit2Sharp/RemoteCallbacks.cs +++ b/LibGit2Sharp/RemoteCallbacks.cs @@ -104,7 +104,7 @@ namespace LibGit2Sharp if (onProgress != null) { - string message = Utf8Marshaler.FromNative(str, len); + string message = LaxUtf8Marshaler.FromNative(str, len); onProgress(message); } } @@ -126,7 +126,7 @@ namespace LibGit2Sharp if (onUpdateTips != null) { - string refName = Utf8Marshaler.FromNative(str); + string refName = LaxUtf8Marshaler.FromNative(str); result = onUpdateTips(refName, oldId, newId); } |