altering to match book source code so that I can reliably spot line ref errors

This commit is contained in:
Dan Buch 2011-09-21 13:24:43 -04:00
parent c64e1beeaa
commit 791f3b1327

3
ex17.c
View File

@ -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;
}