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-PlaylistBroadcaster.tproj::PlaylistBroadcaster.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-PlaylistBroadcaster.tproj::PlaylistBroadcaster.cpp')
| -rw-r--r-- | net/DarwinStreamingServer/files/patch-PlaylistBroadcaster.tproj::PlaylistBroadcaster.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/net/DarwinStreamingServer/files/patch-PlaylistBroadcaster.tproj::PlaylistBroadcaster.cpp b/net/DarwinStreamingServer/files/patch-PlaylistBroadcaster.tproj::PlaylistBroadcaster.cpp index 951baabe6361..82e5d4962f35 100644 --- a/net/DarwinStreamingServer/files/patch-PlaylistBroadcaster.tproj::PlaylistBroadcaster.cpp +++ b/net/DarwinStreamingServer/files/patch-PlaylistBroadcaster.tproj::PlaylistBroadcaster.cpp @@ -1,5 +1,17 @@ --- PlaylistBroadcaster.tproj/PlaylistBroadcaster.cpp.orig Sat Mar 12 08:24:54 2005 -+++ PlaylistBroadcaster.tproj/PlaylistBroadcaster.cpp Sun Aug 13 00:38:20 2006 ++++ PlaylistBroadcaster.tproj/PlaylistBroadcaster.cpp Sat Feb 10 04:04:32 2007 +@@ -229,9 +229,9 @@ + + sgProgramName = argv[0]; + #ifdef __Win32__ +- while ((anOption = getopt(argc, argv, "vhdcpbDtai:fe:" )) != EOF) ++ while ((anOption = getopt(argc, argv, "vhdcpbDtai:fe:" )) != -1) + #else +- while ((anOption = getopt(argc, argv, "vhdcpbDls:tai:fe:" )) != EOF) ++ while ((anOption = getopt(argc, argv, "vhdcpbDls:tai:fe:" )) != -1) + #endif + { + @@ -2077,7 +2077,7 @@ struct sigaction act; |
