bmsd/mysql.c

changeset 580
9cd6873bda75
parent 579
1253a237b620
child 582
93848540442c
--- a/bmsd/mysql.c	Sun Jan 05 17:04:56 2020 +0100
+++ b/bmsd/mysql.c	Sun Jan 05 20:00:39 2020 +0100
@@ -757,11 +757,11 @@
 
 
 
-void ispindel_mysql_death(char *uuid)
+void ispindel_mysql_death(char *node)
 {
     char        *query = malloc(512);
 
-    snprintf(query, 511, "UPDATE mon_ispindels SET online='0' WHERE uuid='%s'", uuid);
+    snprintf(query, 511, "UPDATE mon_ispindels SET online='0' WHERE node='%s'", node);
     bms_mysql_query(query);
     free(query);
 }

mercurial