comparison core/RTAudioCommandLine.cpp @ 29:cc434ecf4486 bbb_network

- Fixed an issue in the command line options (quotes around constant)
author Giulio Moro <giuliomoro@yahoo.it>
date Mon, 11 May 2015 11:08:00 +0100
parents ad5cd8dd99b3
children 8e3306340971
comparison
equal deleted inserted replaced
28:adcb57fd3d75 29:cc434ecf4486
186 strcpy(settings->serverName, optarg); 186 strcpy(settings->serverName, optarg);
187 else 187 else
188 std::cerr << "Warning: server name is too long (>" << MAX_SERVERNAME_LENGTH << " characters)." 188 std::cerr << "Warning: server name is too long (>" << MAX_SERVERNAME_LENGTH << " characters)."
189 " Using default severName Instead ( " << settings->serverName << " ).\n"; 189 " Using default severName Instead ( " << settings->serverName << " ).\n";
190 break; 190 break;
191 case 'OPT_PRU_FILE': 191 case OPT_PRU_FILE:
192 if(strlen(optarg)<MAX_PRU_FILENAME_LENGTH) 192 if(strlen(optarg)<MAX_PRU_FILENAME_LENGTH)
193 strcpy(settings->pruFilename, optarg); 193 strcpy(settings->pruFilename, optarg);
194 else 194 else
195 std::cerr << "Warning: filename for the PRU code is too long (>" << MAX_PRU_FILENAME_LENGTH << " characters). Using embedded PRU code instead\n"; 195 std::cerr << "Warning: filename for the PRU code is too long (>" << MAX_PRU_FILENAME_LENGTH << " characters). Using embedded PRU code instead\n";
196 break; 196 break;