/[svn]/linuxsampler/trunk/src/linuxsampler.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/linuxsampler.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2836 by schoenebeck, Sun Jan 4 17:16:41 2015 UTC revision 2837 by persson, Sun Aug 23 06:14:00 2015 UTC
# Line 453  void parse_options(int argc, char **argv Line 453  void parse_options(int argc, char **argv
453                  }                  }
454                  case 8: {// --lscp-port                  case 8: {// --lscp-port
455                      long unsigned int port = 0;                      long unsigned int port = 0;
456                      if ((sscanf(optarg, "%u", &port) != 1) || (port == 0) || (port > 65535))                      if ((sscanf(optarg, "%lu", &port) != 1) || (port == 0) || (port > 65535))
457                          printf("WARNING: Failed to parse lscp-port argument, ignoring!\n");                          printf("WARNING: Failed to parse lscp-port argument, ignoring!\n");
458                      else                      else
459                          lscp_port = htons(port);                          lscp_port = htons(port);

Legend:
Removed from v.2836  
changed lines
  Added in v.2837

  ViewVC Help
Powered by ViewVC