Hey, `dispense -s` implemented!
[tpg/opendispense2.git] / src / server / server.c
index 1ebb612..26c7fb2 100644 (file)
@@ -253,7 +253,7 @@ void Server_Cleanup(void)
 {
        printf("\nClose(%i)\n", giServer_Socket);
        close(giServer_Socket);
-       unlink("/var/run/dispsrv");
+       unlink("/var/run/dispsrv.pid");
 }
 
 /**
@@ -1318,7 +1318,7 @@ void Server_Cmd_UPDATEITEM(tClient *Client, char *Args)
        
        price = atoi(price_str);
        if( price <= 0 && price_str[0] != '0' ) {
-               sendf(CLient->Socket, "407 Invalid price set\n");
+               sendf(Client->Socket, "407 Invalid price set\n");
        }
        
        // Update the item

UCC git Repository :: git.ucc.asn.au