# HG changeset patch # User Luke Schierer # Date 1082782058 0 # Node ID 58787b6768549688f7c32c2e891d48b156ab05e9 # Parent 262f81346c0ab974fb1bada424e4d1f2ff091928 [gaim-migrate @ 9551] if i read gaim-devel right, nathan said this looked more or less right. time should tell... committer: Tailor Script diff -r 262f81346c0a -r 58787b676854 src/proxy.c --- 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",