summaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-01-21 22:03:25 +0100
committerTao Bao <tbao@google.com>2017-01-22 05:43:45 +0100
commitf013642477dbe0a5ed8d440571e9c8676ed42b2d (patch)
tree536ba1489bcc83a8594ff7efc69ec3457de70664 /updater
parentMerge "imgpatch: Compile with ZLIB_CONST defined." (diff)
downloadandroid_bootable_recovery-f013642477dbe0a5ed8d440571e9c8676ed42b2d.tar
android_bootable_recovery-f013642477dbe0a5ed8d440571e9c8676ed42b2d.tar.gz
android_bootable_recovery-f013642477dbe0a5ed8d440571e9c8676ed42b2d.tar.bz2
android_bootable_recovery-f013642477dbe0a5ed8d440571e9c8676ed42b2d.tar.lz
android_bootable_recovery-f013642477dbe0a5ed8d440571e9c8676ed42b2d.tar.xz
android_bootable_recovery-f013642477dbe0a5ed8d440571e9c8676ed42b2d.tar.zst
android_bootable_recovery-f013642477dbe0a5ed8d440571e9c8676ed42b2d.zip
Diffstat (limited to 'updater')
-rw-r--r--updater/install.cpp1
-rw-r--r--updater/updater.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/updater/install.cpp b/updater/install.cpp
index 643145447..7a8e92f6c 100644
--- a/updater/install.cpp
+++ b/updater/install.cpp
@@ -76,7 +76,6 @@ static void uiPrint(State* state, const std::string& buffer) {
for (auto& line : lines) {
if (!line.empty()) {
fprintf(ui->cmd_pipe, "ui_print %s\n", line.c_str());
- fprintf(ui->cmd_pipe, "ui_print\n");
}
}
diff --git a/updater/updater.cpp b/updater/updater.cpp
index 473066263..22c060fcb 100644
--- a/updater/updater.cpp
+++ b/updater/updater.cpp
@@ -191,7 +191,6 @@ int main(int argc, char** argv) {
}
fprintf(cmd_pipe, "ui_print %s\n", line.c_str());
}
- fprintf(cmd_pipe, "ui_print\n");
}
if (state.error_code != kNoError) {