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;
|
return;
|
||||||
}
|
}
|
||||||
|
unsigned short mapport=5678;
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
clock_t tstart,tend;
|
clock_t tstart,tend;
|
||||||
@ -1739,8 +1739,7 @@ int main(int argc, char *argv[])
|
|||||||
int usesocket=false;
|
int usesocket=false;
|
||||||
int webflag=0;
|
int webflag=0;
|
||||||
int sockc=0;
|
int sockc=0;
|
||||||
short port=1234;
|
unsigned short port=1234;
|
||||||
short mapport=5678;
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Read options
|
// Read options
|
||||||
@ -1764,7 +1763,7 @@ int main(int argc, char *argv[])
|
|||||||
exit(1);
|
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)
|
switch (result)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user