comparison stream/stream_ftp.c @ 35396:6f03d15719a3

stream ftp: Set type to STREAMTYPE_STREAM Previously this was not set at all from within the stream_ftp module. This caused the run-time warning message "Streams need a type!". The actual behaviour should not be affected by this change.
author al
date Mon, 26 Nov 2012 23:38:11 +0000
parents e740eaf25f32
children 0c18f01f65a5
comparison
equal deleted inserted replaced
35395:e740eaf25f32 35396:6f03d15719a3
511 // preventing correct abort with many servers. 511 // preventing correct abort with many servers.
512 stream->fd = -1; 512 stream->fd = -1;
513 stream->priv = p; 513 stream->priv = p;
514 stream->fill_buffer = fill_buffer; 514 stream->fill_buffer = fill_buffer;
515 stream->close = close_f; 515 stream->close = close_f;
516 stream->type = STREAMTYPE_STREAM;
516 517
517 return STREAM_OK; 518 return STREAM_OK;
518 } 519 }
519 520
520 const stream_info_t stream_info_ftp = { 521 const stream_info_t stream_info_ftp = {