summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-05-17 17:56:34 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-05-17 17:56:34 +0000
commit7943d83e29f729c2b9f08918fa1f94cf56124f5a (patch)
treea73ebe297f9ec226f3fc3145259cb2967d6d7f7c /src
parenta865015832e40833d6af7c65f620bbe291a83294 (diff)
Fixed "Image in CSS not parsed" (http://code.google.com/p/httrack/issues/detail?id=2)
Diffstat (limited to 'src')
-rw-r--r--src/htsparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/htsparse.c b/src/htsparse.c
index 594616c..f31207b 100644
--- a/src/htsparse.c
+++ b/src/htsparse.c
@@ -1512,8 +1512,8 @@ int htsparse(htsmoduleStruct * str, htsmoduleStructExtended * stre) {
}
// Suspicious, abort.
else if (a[i] == '"' || a[i] == '\''
- || a[i] != '\t' || a[i] != '\r'
- || a[i] != '\n') {
+ || a[i] == '\t' || a[i] == '\r'
+ || a[i] == '\n') {
a = NULL;
break;
} else if (a[i] != ' ') {