[libsoup] Fix a slightly-erroneous comment in soup-auth-basic/soup-auth-ntlm.



commit 1e48dc8f9a8a90e8e644ce78882c9468ca1d298b
Author: Dan Winship <danw gnome org>
Date:   Wed May 22 10:52:50 2013 -0300

    Fix a slightly-erroneous comment in soup-auth-basic/soup-auth-ntlm.

 libsoup/soup-auth-basic.c |    2 +-
 libsoup/soup-auth-ntlm.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libsoup/soup-auth-basic.c b/libsoup/soup-auth-basic.c
index fefe1c7..f298e36 100644
--- a/libsoup/soup-auth-basic.c
+++ b/libsoup/soup-auth-basic.c
@@ -73,7 +73,7 @@ soup_auth_basic_get_protection_space (SoupAuth *auth, SoupURI *source_uri)
 
        space = g_strdup (source_uri->path);
 
-       /* Strip query and filename component */
+       /* Strip filename component */
        p = strrchr (space, '/');
        if (p && p != space && p[1])
                *p = '\0';
diff --git a/libsoup/soup-auth-ntlm.c b/libsoup/soup-auth-ntlm.c
index 7b11a43..cff469f 100644
--- a/libsoup/soup-auth-ntlm.c
+++ b/libsoup/soup-auth-ntlm.c
@@ -372,7 +372,7 @@ soup_auth_ntlm_get_protection_space (SoupAuth *auth, SoupURI *source_uri)
 
        space = g_strdup (source_uri->path);
 
-       /* Strip query and filename component */
+       /* Strip filename component */
        p = strrchr (space, '/');
        if (p && p != space && p[1])
                *p = '\0';


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