[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.7-39-g170410

From: Andy Wingo
Subject: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.7-39-g170410b
Date: Mon, 21 Jan 2013 21:15:30 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

The branch, stable-2.0 has been updated
       via  170410b607b5ea2b935dbb656c844b86720bf1ec (commit)
      from  0bc37aec599e46d27689935bda761394c2de801e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 170410b607b5ea2b935dbb656c844b86720bf1ec
Author: Andy Wingo <address@hidden>
Date:   Mon Jan 21 22:13:16 2013 +0100

    Fix http-get* deprecation note
    * module/web/client.scm (http-get*): Fix deprecation warning.  Thanks to
      Daniel Hartwig for the report.


Summary of changes:
 module/web/client.scm |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/module/web/client.scm b/module/web/client.scm
index ce93cd8..9fbb25b 100644
--- a/module/web/client.scm
+++ b/module/web/client.scm
@@ -285,10 +285,9 @@ true)."
                     (extra-headers #f) (headers (or extra-headers '()))
                     (decode-body? #t))
   "Deprecated in favor of (http-get #:streaming? #t)."
-  (when extra-headers
-    (issue-deprecation-warning
-     "`http-get*' has been deprecated.  "
-     "Instead, use `http-get' with the #:streaming? #t keyword argument."))
+  (issue-deprecation-warning
+   "`http-get*' has been deprecated.  "
+   "Instead, use `http-get' with the #:streaming? #t keyword argument.")
   (http-get uri #:body body
             #:port port #:version version #:keep-alive? keep-alive?
             #:headers headers #:decode-body? #t #:streaming? #t))

GNU Guile

reply via email to

[Prev in Thread] Current Thread [Next in Thread]