Changeset 1552

Show
Ignore:
Timestamp:
05/10/09 08:04:32 (15 years ago)
Author:
ppalmers
Message:

remove the requirement for the -p parameter to test-scs

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/tests/test-scs.cpp

    r1550 r1552  
    384384 
    385385    char s[1024]; 
    386     if(arguments.node > -1) { 
     386    if(arguments.port > -1 && arguments.node > -1) { 
    387387        snprintf(s, 1024, "hw:%d,%d", arguments.port, arguments.node); 
    388388        if ( !m_deviceManager->addSpecString(s) ) {  
     
    391391            return -1; 
    392392        } 
    393     } else
     393    } else if (arguments.port > -1)
    394394        snprintf(s, 1024, "hw:%d", arguments.port); 
    395395        if ( !m_deviceManager->addSpecString(s) ) {