소스 검색

* Update Stream::gets() -> Stream::read()

Bryan Drewery 15 년 전
부모
커밋
06c468bac7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/mod/update.mod/update.c

+ 1 - 1
src/mod/update.mod/update.c

@@ -320,7 +320,7 @@ static void start_sending_binary(int idx, bool streamable)
     dprintf(idx, "sb ls\n");
     bd::String buf;
     while (stream.tell() < stream.length()) {
-      buf = bd::base64Encode(stream.gets(1024));
+      buf = bd::base64Encode(stream.read(1024));
       ulsend(idx, buf.c_str(), buf.length());
     }
     dprintf(idx, "sb le\n");