Commit d0a48627 authored by Yang Tse's avatar Yang Tse
Browse files

fix compiler warning

parent 4b8f13e9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1393,6 +1393,7 @@ static CURLcode ftp_state_post_listtype(struct connectdata *conn)

      /* chop off the file part if format is dir/dir/file */
      slashPos = strrchr(lstArg,'/');
      if(slashPos)
        *(slashPos+1) = '\0';
    }
  }