From 2177768160df1be0825b4964baabe0e3e41385fd Mon Sep 17 00:00:00 2001 From: Bladen Martin Date: Thu, 28 May 2020 22:26:48 +0530 Subject: Update outitf.c --- src/outitf.c | 4 ++-- 1 file 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); } } -- cgit