changeset 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
files stream/stream_ftp.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_ftp.c	Mon Nov 26 23:37:06 2012 +0000
+++ b/stream/stream_ftp.c	Mon Nov 26 23:38:11 2012 +0000
@@ -513,6 +513,7 @@
   stream->priv = p;
   stream->fill_buffer = fill_buffer;
   stream->close = close_f;
+  stream->type = STREAMTYPE_STREAM;
 
   return STREAM_OK;
 }