git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
37653a1
)
credential-cache--daemon.c: use warning_errno()
author
Nguyễn Thái Ngọc Duy
<redacted>
Sun, 8 May 2016 09:47:41 +0000
(16:47 +0700)
committer
Junio C Hamano
<redacted>
Mon, 9 May 2016 19:29:08 +0000
(12:29 -0700)
Signed-off-by: Nguyễn Thái Ngọc Duy <redacted>
Signed-off-by: Junio C Hamano <redacted>
credential-cache--daemon.c
patch
|
blob
|
history
diff --git
a/credential-cache--daemon.c
b/credential-cache--daemon.c
index caef21e4fc91898f209709f723de1df5afc66a66..94d18f839cd356e0911ae6e9452536a34cb16400 100644
(file)
--- a/
credential-cache--daemon.c
+++ b/
credential-cache--daemon.c
@@
-170,12
+170,12
@@
static int serve_cache_loop(int fd)
client = accept(fd, NULL, NULL);
if (client < 0) {
- warning
("accept failed: %s", strerror(errno)
);
+ warning
_errno("accept failed"
);
return 1;
}
client2 = dup(client);
if (client2 < 0) {
- warning
("dup failed: %s", strerror(errno)
);
+ warning
_errno("dup failed"
);
close(client);
return 1;
}
git clone https://git.99rst.org/PROJECT