Projects

Ticket #16: patch-MP3Broadcaster_BroadcasterMain_cpp

File patch-MP3Broadcaster_BroadcasterMain_cpp, 2.6 KB (added by jason@…, 4 years ago)
Line 
1$OpenBSD$
2--- MP3Broadcaster/BroadcasterMain.cpp.orig     Sat Jun  7 22:10:12 2008
3+++ MP3Broadcaster/BroadcasterMain.cpp  Sat Jun  7 22:12:57 2008
4@@ -229,14 +229,14 @@ struct sigaction act;
5     if ( ::signal(SIGTERM, SIG_IGN) != SIG_IGN)
6     {   // from kill...
7         if ( ::sigaction(SIGTERM, &act, NULL) != 0 )
8-        {   qtss_printf( "- PlaylistBroadcaster: System error (%"_SPOINTERSIZEARG_").\n", (PointerSizedInt)SIG_ERR );
9+        {   qtss_printf( "- PlaylistBroadcaster: System error (%_SPOINTERSIZEARG_).\n", (PointerSizedInt)SIG_ERR );
10         }
11     }
12 
13     if ( ::signal(SIGINT, SIG_IGN) != SIG_IGN)
14     {   // ^C signal
15         if ( ::sigaction(SIGINT, &act, NULL)  != 0 )
16-        {   qtss_printf( "- PlaylistBroadcaster: System error (%"_SPOINTERSIZEARG_").\n", (PointerSizedInt)SIG_ERR );
17+        {   qtss_printf( "- PlaylistBroadcaster: System error (%_SPOINTERSIZEARG_).\n", (PointerSizedInt)SIG_ERR );
18         }
19         
20     }
21@@ -244,7 +244,7 @@ struct sigaction act;
22     if ( ::signal(SIGPIPE, SIG_IGN) != SIG_IGN)
23     {   // broken pipe probably from a failed RTSP session (the server went down?)
24         if ( ::sigaction(SIGPIPE, &act, NULL)   != 0 )
25-        {   qtss_printf( "- PlaylistBroadcaster: System error (%"_SPOINTERSIZEARG_").\n", (PointerSizedInt)SIG_ERR );
26+        {   qtss_printf( "- PlaylistBroadcaster: System error (%_SPOINTERSIZEARG_).\n", (PointerSizedInt)SIG_ERR );
27         }
28         
29     }
30@@ -252,7 +252,7 @@ struct sigaction act;
31     if ( ::signal(SIGHUP, SIG_IGN) != SIG_IGN)
32     {   // catch any SIGHUP
33         if ( ::sigaction(SIGHUP, &act, NULL)  != 0)
34-        {   qtss_printf( "- PlaylistBroadcaster: System error (%"_SPOINTERSIZEARG_").\n", (PointerSizedInt)SIG_ERR );
35+        {   qtss_printf( "- PlaylistBroadcaster: System error (%_SPOINTERSIZEARG_).\n", (PointerSizedInt)SIG_ERR );
36         }
37         
38     }
39@@ -260,7 +260,7 @@ struct sigaction act;
40     if ( ::signal(SIGALRM, SIG_IGN) != SIG_IGN)
41     {   // catch any SIGALRM
42         if ( ::sigaction(SIGALRM, &act, NULL)  != 0)
43-        {   qtss_printf( "- PlaylistBroadcaster: System error (%"_SPOINTERSIZEARG_").\n", (PointerSizedInt)SIG_ERR );
44+        {   qtss_printf( "- PlaylistBroadcaster: System error (%_SPOINTERSIZEARG_).\n", (PointerSizedInt)SIG_ERR );
45         }
46         
47     }
48@@ -282,7 +282,7 @@ static void SignalEventHandler( int signalID )
49 
50          {
51 
52-         qtss_printf( "- PlaylistBroadcaster: Unexpected signal type (%"_SPOINTERSIZEARG_").\n", signalID );
53+         qtss_printf( "- PlaylistBroadcaster: Unexpected signal type (%_SPOINTERSIZEARG_).\n", signalID );
54 
55          // just ignore it...
56