Tidy up the exit() arguments.

This commit is contained in:
Mike Brady
2019-04-10 21:32:08 +01:00
parent 449a9be55e
commit 57bcea52c7
6 changed files with 14 additions and 16 deletions
+1 -2
View File
@@ -92,8 +92,7 @@ void response_body(void *opaque, const char *data, int size) {
if (t)
response->body = t;
else {
debug(1, "Can't allocate any more space for parser.\n");
exit(-1);
die("dacp: can't allocate any more space for parser.");
}
}
memcpy(response->body + response->size, data, size);