summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2014-05-29 16:14:57 +0000
committerXavier Roche <xroche@users.noreply.github.com>2014-05-29 16:14:57 +0000
commit17ec3ecd6b8d4d5f19f5d50ce34b8bfa2894c3be (patch)
tree0abdf197106f01f002f0e4bf3d232afba9205307
parentc7636d4f90c558500e946427315eec83dfdcf87e (diff)
Fixed regression over ./
-rw-r--r--src/htsparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htsparse.c b/src/htsparse.c
index 1c1fba2..f171702 100644
--- a/src/htsparse.c
+++ b/src/htsparse.c
@@ -2106,7 +2106,7 @@ int htsparse(htsmoduleStruct * str, htsmoduleStructExtended * stre) {
while((lien[0] == '.') && (lien[1] == '/')) {
char BIGSTK tempo[HTS_URLMAXSIZE * 2];
- strcpybuff(tempo, lien + 1);
+ strcpybuff(tempo, lien + /* ./ */ 2);
strcpybuff(lien, tempo);
}
if (strnotempty(lien) == 0) // sauf si plus de nom de fichier