berkelium plugin no longer has annoying rescaling.
jabber plugin greatly extended. now uses links, automatically connects the next time its started, supports adding contacts, can cope with < a little better. started work towards support for NAT hole punching - can currently connect if the server has a correctly guessed public ip (first detected ipv4 address needs to work), needs more work for other scenarios. other plugins required a little maintenance. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4398 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
fa9252cefa
commit
1e423d106f
11 changed files with 2047 additions and 578 deletions
|
@ -561,4 +561,13 @@ void Q_strlcpy(char *d, const char *s, int n)
|
|||
}
|
||||
*d='\0';
|
||||
}
|
||||
|
||||
void Q_strlcat(char *d, const char *s, int n)
|
||||
{
|
||||
if (n)
|
||||
{
|
||||
int dlen = strlen(d);
|
||||
int slen = strlen(s)+1;
|
||||
memcpy(d+dlen, s, min((n-1)-dlen, slen));
|
||||
d[n - 1] = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue