소스 검색

trivial spelling fixes

tags/v1.0.0
klemens 7 년 전
부모
커밋
af2273c07e
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. +2
    -2
      transfersh-server/handlers.go
  2. +1
    -1
      transfersh-web/scripts/showdown.js

+ 2
- 2
transfersh-server/handlers.go 파일 보기

@@ -180,7 +180,7 @@ func notFoundHandler(w http.ResponseWriter, r *http.Request) {
func postHandler(w http.ResponseWriter, r *http.Request) {
if err := r.ParseMultipartForm(_24K); nil != err {
log.Printf("%s", err.Error())
http.Error(w, "Error occured copying to output stream", 500)
http.Error(w, "Error occurred copying to output stream", 500)
return
}

@@ -573,7 +573,7 @@ func getHandler(w http.ResponseWriter, r *http.Request) {

if _, err = io.Copy(w, reader); err != nil {
log.Printf("%s", err.Error())
http.Error(w, "Error occured copying to output stream", 500)
http.Error(w, "Error occurred copying to output stream", 500)
return
}
}


+ 1
- 1
transfersh-web/scripts/showdown.js 파일 보기

@@ -106,7 +106,7 @@ this.makeHtml = function(text) {

// attacklab: Replace ~ with ~T
// This lets us use tilde as an escape char to avoid md5 hashes
// The choice of character is arbitray; anything that isn't
// The choice of character is arbitrary; anything that isn't
// magic in Markdown will work.
text = text.replace(/~/g,"~T");



불러오는 중...
취소
저장