[pulseaudio-commits] r1852 - /branches/lennart/src/tests/sig2str-test.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Tue Sep 18 03:45:54 PDT 2007


Author: ossman
Date: Tue Sep 18 12:45:54 2007
New Revision: 1852

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1852&root=pulseaudio&view=rev
Log:
NSIG seems to be more common than _NSIG.

Modified:
    branches/lennart/src/tests/sig2str-test.c

Modified: branches/lennart/src/tests/sig2str-test.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/tests/sig2str-test.c?rev=1852&root=pulseaudio&r1=1851&r2=1852&view=diff
==============================================================================
--- branches/lennart/src/tests/sig2str-test.c (original)
+++ branches/lennart/src/tests/sig2str-test.c Tue Sep 18 12:45:54 2007
@@ -32,7 +32,7 @@
 int main(int argc, char *argv[]) {
     int sig;
     
-    for (sig = -1; sig < _NSIG+1; sig++)
+    for (sig = -1; sig <= NSIG; sig++)
         printf("%i = %s\n", sig, pa_sig2str(sig));
 
     return 0;




More information about the pulseaudio-commits mailing list