hurdextras-commit
[Top][All Lists]
Advanced

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

httpfs ChangeLog parsehtml.c


From: Samuel Thibault
Subject: httpfs ChangeLog parsehtml.c
Date: Sun, 27 Jan 2013 23:14:23 +0000

CVSROOT:        /cvsroot/hurdextras
Module name:    httpfs
Changes by:     Samuel Thibault <sthibaul>      13/01/27 23:14:23

Modified files:
        .              : ChangeLog parsehtml.c 

Log message:
                * parsehtml.c (startElement): Use strcasecmp to match "href".

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/httpfs/ChangeLog?cvsroot=hurdextras&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/httpfs/parsehtml.c?cvsroot=hurdextras&r1=1.1.1.1&r2=1.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/hurdextras/httpfs/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- ChangeLog   25 Jan 2013 00:50:58 -0000      1.8
+++ ChangeLog   27 Jan 2013 23:14:22 -0000      1.9
@@ -1,3 +1,7 @@
+2013-01-28  Samuel Thibault  <address@hidden>
+
+       * parsehtml.c (startElement): Use strcasecmp to match "href".
+
 2013-01-25  Samuel Thibault  <address@hidden>
 
        * netfs.c: Call pthread_mutex_lock and pthread_mutex_unlock instead of

Index: parsehtml.c
===================================================================
RCS file: /cvsroot/hurdextras/httpfs/parsehtml.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- parsehtml.c 15 Apr 2002 19:25:43 -0000      1.1.1.1
+++ parsehtml.c 27 Jan 2013 23:14:23 -0000      1.2
@@ -45,7 +45,7 @@
        {
                for(i=0;(atts[i]!=NULL);i++)
                {
-                       if ( ! 
(strcmp(atts[i],"href")&&strcmp(atts[i],"HREF")&&strcmp(atts[i],"Href")) )
+                       if ( ! strcasecmp(atts[i],"href") )
                        {
                                /* got an a href */
                                i++;



reply via email to

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