projects
/
sdk
/
tools
/
profctl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70ed509
)
output 'ready' to control and data socket
author
Alexey Chernobaev
<achernobaev@dev.rtsoft.ru>
Thu, 23 Aug 2018 16:46:42 +0000
(19:46 +0300)
committer
Aleksei Vereshchagin
<avereschagin@dev.rtsoft.ru>
Mon, 3 Sep 2018 15:21:42 +0000
(18:21 +0300)
profctl.c
patch
|
blob
|
history
diff --git
a/profctl.c
b/profctl.c
index 881ff1bb0ef3a614c0a030fdb2699d168d1cd38b..80e86b2dea61fb65fda03a0bf1e8146e3d9361f8 100644
(file)
--- a/
profctl.c
+++ b/
profctl.c
@@
-705,6
+705,8
@@
int main(int argc, char **argv)
if (ctrl_file_out == NULL) {
log_system_error_and_exit("fdopen(control,w)");
}
+ fprintf(ctrl_file_out, "ready\n");
+ fflush(ctrl_file_out);
}
if (dataPort > 0) {
@@
-713,6
+715,8
@@
int main(int argc, char **argv)
if (data_file_out == NULL) {
log_system_error_and_exit("fdopen(data,w)");
}
+ fprintf(data_file_out, "ready\n");
+ fflush(data_file_out);
}
if (doinfo && (statPort > 0)) {