summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBladen Martin2020-05-28 22:26:48 +0530
committerGitHub2020-05-28 22:26:48 +0530
commit2177768160df1be0825b4964baabe0e3e41385fd (patch)
tree7aa04284505a4c811ec6238f015d1c8cdb85b3e3 /src
parent0c128ccda3fbb75522d317649917f695f0cf5ef1 (diff)
downloadnghdl-2177768160df1be0825b4964baabe0e3e41385fd.tar.gz
nghdl-2177768160df1be0825b4964baabe0e3e41385fd.tar.bz2
nghdl-2177768160df1be0825b4964baabe0e3e41385fd.zip
Update outitf.c
Diffstat (limited to 'src')
-rw-r--r--src/outitf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/outitf.c b/src/outitf.c
index 9a656c1..c4cbfe4 100644
--- a/src/outitf.c
+++ b/src/outitf.c
@@ -135,7 +135,7 @@ static void close_server(void)
{ printf("\nIPaddr - %s portno - %d", IPaddr_file, PORT_file);
int sock = 0;
struct sockaddr_in serv_addr;
- char *hello = "CLOSE_FROM_NGSPICE";
+ char *message = "CLOSE_FROM_NGSPICE";
if ((sock = socket(AF_INET, SOCK_STREAM, 0)) < 0)
{
printf("\n Socket creation error \n");
@@ -149,7 +149,7 @@ static void close_server(void)
{
printf("\nConnection Failed \n");
}
- send(sock , hello , strlen(hello) , 0 );
+ send(sock , message , strlen(message) , 0 );
close(sock);
}
}