someone should hit me
authorDaniel Stenberg <daniel@haxx.se>
Fri, 1 Oct 2004 11:27:14 +0000 (11:27 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 1 Oct 2004 11:27:14 +0000 (11:27 +0000)
lib/formdata.c

index affaf4b..e03d75a 100644 (file)
@@ -947,7 +947,7 @@ char *basename(char *path)
   else if(s1)
     path = s1 + 1;
   else if(s2)
-    path = s1 + 1;
+    path = s2 + 1;
 
   return path;
 }