projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use a single sftp_senddata() to send each SFTP packet, rather than
[u/mdw/putty]
/
unix
/
uxagentc.c
diff --git
a/unix/uxagentc.c
b/unix/uxagentc.c
index
3605c60
..
9f579cd
100644
(file)
--- a/
unix/uxagentc.c
+++ b/
unix/uxagentc.c
@@
-17,7
+17,8
@@
int agent_exists(void)
{
- if (getenv("SSH_AUTH_SOCK") != NULL)
+ const char *p = getenv("SSH_AUTH_SOCK");
+ if (p && *p)
return TRUE;
return FALSE;
}