Mercurial > pidgin.yaz
diff src/proxy.c @ 8789:58787b676854
[gaim-migrate @ 9551]
if i read gaim-devel right, nathan said this looked more or less right.
time should tell...
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sat, 24 Apr 2004 04:47:38 +0000 |
parents | 92cbf9713795 |
children | 28c0ebfd7a53 |
line wrap: on
line diff
--- a/src/proxy.c Sat Apr 24 01:43:11 2004 +0000 +++ b/src/proxy.c Sat Apr 24 04:47:38 2004 +0000 @@ -407,7 +407,7 @@ ppid = getppid(); snprintf(s, 300, "/proc/%d/exe", ppid); n = readlink(s, e, sizeof(e)); - e[MAX(n,sizeof(e)-1)] = '\0'; + e[MIN(n,sizeof(e)-1)] = '\0'; if(strstr(e,"gdb")) { gaim_debug(GAIM_DEBUG_INFO, "dns",