File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ int main(int argc, char* argv[])
205
205
if (index_in_current_write_buffer >= bufsize)
206
206
{
207
207
current_write_buffer = pool->get_write_buffer ();
208
- index_in_current_write_buffer = 0 ;error_exiterror_exit
208
+ index_in_current_write_buffer = 0 ;
209
209
}
210
210
int retval = read (input_fd, current_write_buffer + index_in_current_write_buffer, bufsize - index_in_current_write_buffer);
211
211
if (retval>0 )
@@ -285,6 +285,14 @@ void* client_thread (void* param) //!TODO
285
285
me_the_client->status = CS_THREAD_RUNNING;
286
286
char ctl_data_buffer;
287
287
int retval;
288
+ tsmpool* p1_temp;
289
+ tsmpool* p2_temp;
290
+ const int num_client_buffers = 20 ;
291
+ if (ddc_method == M_TD)
292
+ {
293
+ p1_temp = new tsmpool (bufsize, )
294
+ }
295
+
288
296
for (;;)
289
297
{
290
298
do
@@ -312,7 +320,7 @@ void* client_thread (void* param) //!TODO
312
320
void error_exit (const char * why)
313
321
{
314
322
perror (why); // do we need a \n at the end of (why)?
315
- exit (1 );
323
+ exit (1 );
316
324
}
317
325
318
326
void print_exit (const char * why)
You can’t perform that action at this time.
0 commit comments