summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorambikeshwar2015-07-15 04:41:45 +0530
committerambikeshwar2015-07-15 04:41:45 +0530
commit960a110653681f295a63c598646ae0523fb6d8fd (patch)
tree42ec2245434e4ce049d10532a34dfe2d90aa8806
parentc74201207646680fbfc0528f4c129eb6b88fc6b2 (diff)
downloadnghdl-960a110653681f295a63c598646ae0523fb6d8fd.tar.gz
nghdl-960a110653681f295a63c598646ae0523fb6d8fd.tar.bz2
nghdl-960a110653681f295a63c598646ae0523fb6d8fd.zip
ghdlserver.c modified foe multiple instance
-rw-r--r--src/ghdlserver/ghdlserver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ghdlserver/ghdlserver.c b/src/ghdlserver/ghdlserver.c
index 68c9941..603f925 100644
--- a/src/ghdlserver/ghdlserver.c
+++ b/src/ghdlserver/ghdlserver.c
@@ -369,9 +369,9 @@ void set_non_blocking(int sock_id)
}
-void Vhpi_Initialize()
+void Vhpi_Initialize(int sock_port)
{
-
+ DEFAULT_SERVER_PORT = sock_port;
/*Taking time info for log*/
time_t systime;
systime = time(NULL);