579:1253a237b620 | 580:9cd6873bda75 |
---|---|
755 free(query); | 755 free(query); |
756 } | 756 } |
757 | 757 |
758 | 758 |
759 | 759 |
760 void ispindel_mysql_death(char *uuid) | 760 void ispindel_mysql_death(char *node) |
761 { | 761 { |
762 char *query = malloc(512); | 762 char *query = malloc(512); |
763 | 763 |
764 snprintf(query, 511, "UPDATE mon_ispindels SET online='0' WHERE uuid='%s'", uuid); | 764 snprintf(query, 511, "UPDATE mon_ispindels SET online='0' WHERE node='%s'", node); |
765 bms_mysql_query(query); | 765 bms_mysql_query(query); |
766 free(query); | 766 free(query); |
767 } | 767 } |
768 | 768 |
769 | 769 |