Update args
This commit is contained in:
parent
a6809b81fb
commit
089f15ec77
7
gpssim.c
7
gpssim.c
@ -1672,7 +1672,7 @@ void usage(void)
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
unsigned short mapport=5678;
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
clock_t tstart,tend;
|
||||
@ -1739,8 +1739,7 @@ int main(int argc, char *argv[])
|
||||
int usesocket=false;
|
||||
int webflag=0;
|
||||
int sockc=0;
|
||||
short port=1234;
|
||||
short mapport=5678;
|
||||
unsigned short port=1234;
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
// Read options
|
||||
@ -1764,7 +1763,7 @@ int main(int argc, char *argv[])
|
||||
exit(1);
|
||||
}
|
||||
|
||||
while ((result=getopt(argc,argv,"e:u:g:c:l:o:s:b:T:t:d:ivn:w"))!=-1)
|
||||
while ((result=getopt(argc,argv,"e:u:g:c:l:o:s:b:T:t:d:ivn:w:"))!=-1)
|
||||
{
|
||||
switch (result)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user