Changeset 3978 in ntrip


Ignore:
Timestamp:
Apr 21, 2012, 10:45:01 AM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmain.cpp

    r3977 r3978  
    109109
    110110  for (int ii = 1; ii < argc - 2; ii++) {
    111     if (QByteArray(argv[ii]).indexOf("-key") != -1) {
     111    if (QRegExp("--?key").exactMatch(argv[ii])) {
    112112      QString key(argv[ii+1]);
    113113      QString val(argv[ii+2]);
Note: See TracChangeset for help on using the changeset viewer.