philsturgeon/codeigniter-curl — pull request #7 by pwhelan (2012-01-12 14:08:29+00:00)
Title: FIX: keep the error and error string when a request produces an error

When a request produces an error response in the execute method it saves the error_code and error_string in the current instance but both get overwritten by the set_defaults method. This is a small fix to keep the error_code and error_string.