branch: elpa/gptel
commit 4bb9d41e249d7fb00220a05efa3991033597746a
Author: Karthik Chikmagalur <[email protected]>
Commit: Karthik Chikmagalur <[email protected]>

    gptel-request: Linting
    
    * gptel-request.el (gptel-curl--sentinel): Use the right INFO
    plist variable name.
---
 gptel-request.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gptel-request.el b/gptel-request.el
index f82330a483..a6c94ce390 100644
--- a/gptel-request.el
+++ b/gptel-request.el
@@ -2987,7 +2987,7 @@ PROCESS and _STATUS are process parameters."
           (plist-put proc-info :error
                      (format "Curl failed with exit code %d. See Curl manpage 
for details."
                              exit-status))
-          (plist-put info :status "Curl failure")
+          (plist-put proc-info :status "Curl failure")
           (gptel--fsm-transition fsm)   ;WAIT -> TYPE
           (with-demoted-errors "gptel callback error: %S"
             (funcall proc-callback nil proc-info))))

Reply via email to