mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* gpg-connect-agent.c (start_agent): Use PATHSEP_C instead of ':'.
This commit is contained in:
parent
5a6edf162b
commit
3441826da7
2 changed files with 6 additions and 2 deletions
|
@ -325,7 +325,7 @@ read_and_print_response (assuan_context_t ctx)
|
|||
|
||||
|
||||
|
||||
/* Connect to teh agebnt and send the standard options. */
|
||||
/* Connect to the agent and send the standard options. */
|
||||
static assuan_context_t
|
||||
start_agent (void)
|
||||
{
|
||||
|
@ -357,7 +357,7 @@ start_agent (void)
|
|||
}
|
||||
*p++ = 0;
|
||||
pid = atoi (p);
|
||||
while (*p && *p != ':')
|
||||
while (*p && *p != PATHSEP_C)
|
||||
p++;
|
||||
prot = *p? atoi (p+1) : 0;
|
||||
if (prot != 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue