commit-graph.c: mark more strings for translation
[gitweb.git] / pkt-line.c
index 555eb2a50746bb8f129a8c14c9b6d61169093436..941e41dfc13493da770d8b55bd9de33d375b555e 100644 (file)
@@ -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) {
@@ -296,7 +296,7 @@ static int get_packet_data(int fd, char **src_buf, size_t *src_size,
                if (options & PACKET_READ_GENTLE_ON_EOF)
                        return -1;
 
-               die("The remote end hung up unexpectedly");
+               die("the remote end hung up unexpectedly");
        }
 
        return ret;