aboutsummaryrefslogtreecommitdiffstats
path: root/sm/call-agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'sm/call-agent.c')
-rw-r--r--sm/call-agent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/call-agent.c b/sm/call-agent.c
index 0647acbb8..885abf421 100644
--- a/sm/call-agent.c
+++ b/sm/call-agent.c
@@ -144,7 +144,7 @@ start_agent (ctrl_t ctrl)
}
*p++ = 0;
pid = atoi (p);
- while (*p && *p != ':')
+ while (*p && *p != PATHSEP_C)
p++;
prot = *p? atoi (p+1) : 0;
if (prot != 1)