diff options
author | Stefan Bühler <stbuehler@web.de> | 2008-07-30 19:38:32 +0000 |
---|---|---|
committer | Stefan Bühler <stbuehler@web.de> | 2008-07-30 19:38:32 +0000 |
commit | 52861d77dfe4e470cac6114cd9f335b30a88b9f5 (patch) | |
tree | 3d05443ad7a0efcefcbcbc46c5a76c202e53af14 /src/mod_flv_streaming.c | |
parent | 0c8ebbeb606561da6acb4d576fb8ab24571fa2dc (diff) | |
download | lighttpd-git-52861d77dfe4e470cac6114cd9f335b30a88b9f5.tar.gz |
Replace buffer_{append,copy}_string with the _len variant where possible (#1732, thx crypt)
Replace BUFFER_{APPEND,COPY}_STRING_CONST with _len(b, CONST_STRL_LEN(x))
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2250 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/mod_flv_streaming.c')
-rw-r--r-- | src/mod_flv_streaming.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_flv_streaming.c b/src/mod_flv_streaming.c index 32f23699..238dc9aa 100644 --- a/src/mod_flv_streaming.c +++ b/src/mod_flv_streaming.c @@ -245,7 +245,7 @@ URIHANDLER_FUNC(mod_flv_streaming_path_handler) { /* we are safe now, let's build a flv header */ b = chunkqueue_get_append_buffer(con->write_queue); - BUFFER_COPY_STRING_CONST(b, "FLV\x1\x1\0\0\0\x9\0\0\0\x9"); + buffer_copy_string_len(b, CONST_STR_LEN("FLV\x1\x1\0\0\0\x9\0\0\0\x9")); http_chunk_append_file(srv, con, con->physical.path, start, sce->st.st_size - start); |