Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t7201: drop pointless "exit 0" at end of subshell
[gitweb.git]
/
pkt-line.c
diff --git
a/pkt-line.c
b/pkt-line.c
index 555eb2a50746bb8f129a8c14c9b6d61169093436..a593c08aad814ca015198936158219f44cbd0226 100644
(file)
--- a/
pkt-line.c
+++ b/
pkt-line.c
@@
-277,7
+277,7
@@
static int get_packet_data(int fd, char **src_buf, size_t *src_size,
ssize_t ret;
if (fd >= 0 && src_buf && *src_buf)
-
die("BUG:
multiple sources given to packet_read");
+
BUG("
multiple sources given to packet_read");
/* Read up to "size" bytes from our source, whatever it is. */
if (src_buf && *src_buf) {