Commit 00556496 by Jakob Pfender Committed by Vicent Marti

signature.c: Move to new error handling mechanism

parent c0cd9d50
...@@ -205,7 +205,7 @@ int git_signature__parse(git_signature *sig, const char **buffer_out, ...@@ -205,7 +205,7 @@ int git_signature__parse(git_signature *sig, const char **buffer_out,
sig->when.time = (time_t)time; sig->when.time = (time_t)time;
if (parse_timezone_offset(buffer, &offset) < GIT_SUCCESS) if (parse_timezone_offset(buffer, &offset) < GIT_SUCCESS)
return GIT_EOBJCORRUPTED; return git__throw(GIT_EOBJCORRUPTED, "Failed to parse signature. Could not parse timezone offset");
sig->when.offset = offset; sig->when.offset = offset;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment