diff --git a/ex17.c b/ex17.c index 8e3cbb1..493d9a1 100644 --- a/ex17.c +++ b/ex17.c @@ -104,7 +104,7 @@ void Database_create(struct Connection *conn) void Database_set(struct Connection *conn, int id, const char *name, const char *email) { struct Address *addr = &conn->db->rows[id]; - if(addr->set) die("Already set, delete it first."); + if(addr->set) die("Already set, delete it first"); addr->set = 1; // WARNING: bug, read the "How To Break It" and fix this @@ -196,3 +196,4 @@ int main(int argc, char *argv[]) return 0; } +