Преглед изворни кода

* 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");