X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=AcessNative%2Fld-acess_src%2Fmain.c;h=8f24db8ace48f759c3368d000eef4e348e8f4e8b;hb=9a9053e91df6e08761e2ce72be350c5c2233153b;hp=a03e96342b1bd4108d56f4330f81ac096edfeeba;hpb=be5123fe1f4aa66b76ce8ef589362ad21b6bbf72;p=tpg%2Facess2.git diff --git a/AcessNative/ld-acess_src/main.c b/AcessNative/ld-acess_src/main.c index a03e9634..8f24db8a 100644 --- a/AcessNative/ld-acess_src/main.c +++ b/AcessNative/ld-acess_src/main.c @@ -9,6 +9,7 @@ // === IMPORTS === extern int gSocket; extern int giSyscall_ClientID; +extern int gbSyscallDebugEnabled; extern void acess__exit(int Status); extern void Request_Preinit(void); @@ -59,6 +60,10 @@ int main(int argc, char *argv[], char **envp) } continue ; } + if( strcmp(argv[i], "--trace") == 0 ) { + gbSyscallDebugEnabled = 1; + continue ; + } if( argv[i][0] != '-' ) break; }