diff options
| author | Norikatsu Shigemura <nork@FreeBSD.org> | 2007-02-09 19:10:52 +0000 | 
|---|---|---|
| committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2007-02-09 19:10:52 +0000 | 
| commit | 660b06251835944880a88ef135e316537c017362 (patch) | |
| tree | 7bdbcb26524d9dea3d71c7511e08f2858d55d62e /net/DarwinStreamingServer/files/patch-StreamingLoadTool-StreamingLoadTool.cpp | |
| parent | adjust OPTIONS handling (diff) | |
Fix wrong handling command line arguments.
Submitted by:	Kouhei Sutou <kou@cozmixng.org>
Notes
Notes:
    svn path=/head/; revision=184732
Diffstat (limited to 'net/DarwinStreamingServer/files/patch-StreamingLoadTool-StreamingLoadTool.cpp')
| -rw-r--r-- | net/DarwinStreamingServer/files/patch-StreamingLoadTool-StreamingLoadTool.cpp | 11 | 
1 files changed, 11 insertions, 0 deletions
| diff --git a/net/DarwinStreamingServer/files/patch-StreamingLoadTool-StreamingLoadTool.cpp b/net/DarwinStreamingServer/files/patch-StreamingLoadTool-StreamingLoadTool.cpp new file mode 100644 index 000000000000..adf025f249e5 --- /dev/null +++ b/net/DarwinStreamingServer/files/patch-StreamingLoadTool-StreamingLoadTool.cpp @@ -0,0 +1,11 @@ +--- StreamingLoadTool/StreamingLoadTool.cpp.orig	Thu May 26 12:36:32 2005 ++++ StreamingLoadTool/StreamingLoadTool.cpp	Sat Feb 10 04:01:06 2007 +@@ -191,7 +191,7 @@ + 	UInt32* theURLIndexArray = NEW UInt32[theURLIndexArraySize]; + 	UInt32 theNumURLs = 0; +     char* controlID = NULL; +-	char			ch = 0; ++	int			ch = 0; + 	// + 	// Read our command line options + 	while( (ch = getopt(argc, argv, "vf:c:i:d")) != -1 ) | 
