client.c   client.c 
skipping to change at line 3006 skipping to change at line 3006
XPAClientDataSent(xpa, client); XPAClientDataSent(xpa, client);
s = XPAClientEnd(xpa, client); s = XPAClientEnd(xpa, client);
if( (messages != NULL) && (messages[got] == NULL) ) if( (messages != NULL) && (messages[got] == NULL) )
messages[got] = xstrdup(s); messages[got] = xstrdup(s);
} }
else{ else{
if( (messages != NULL) && (messages[got] == NULL) ) if( (messages != NULL) && (messages[got] == NULL) )
messages[got] = xstrdup(errbuf); messages[got] = xstrdup(errbuf);
} }
/* might have to fix the name if was an explicit mach:port */ /* might have to fix the name if was an explicit mach:port */
if( names && names[got] && errbuf && if( names && names[got] && *errbuf &&
!strncmp(names[got], "?:?", 3) && !strncmp(names[got], "?:?", 3) &&
(ind1=strrchr(errbuf, '(')) && (ind2=strrchr(errbuf, ')')) ){ (ind1=strrchr(errbuf, '(')) && (ind2=strrchr(errbuf, ')')) ){
ind1++; ind1++;
strncpy(tbuf, ind1, ind2-ind1); strncpy(tbuf, ind1, ind2-ind1);
tbuf[ind2-ind1+1] = '\0'; tbuf[ind2-ind1] = '\0';
xfree(names[got]); xfree(names[got]);
names[got] = xstrdup(tbuf); names[got] = xstrdup(tbuf);
} }
got++; got++;
} }
client = tclient; client = tclient;
} }
/* if we have active clients */ /* if we have active clients */
if( got ){ if( got ){
/* check for loop modes */ /* check for loop modes */
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/