branch | saveflie |
changeset 95 | 13360d8af313 |
parent 94 | 330324fc7c20 |
94:330324fc7c20 | 95:13360d8af313 |
---|---|
157 } |
157 } |
158 else |
158 else |
159 { |
159 { |
160 hex_dump("from local to app", buffer, size); |
160 hex_dump("from local to app", buffer, size); |
161 write(app_stdin, buffer, size); |
161 write(app_stdin, buffer, size); |
162 if (savefile != -1) |
|
163 write(savefile, buffer, size); |
|
162 } |
164 } |
163 } |
165 } |
164 |
166 |
165 static void write_data_to_app_stdin(const char *buffer, size_t size) |
167 static void write_data_to_app_stdin(const char *buffer, size_t size) |
166 { |
168 { |