comparison 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
comparison
equal deleted inserted replaced
8788:262f81346c0a 8789:58787b676854
405 return; 405 return;
406 already_done = TRUE; 406 already_done = TRUE;
407 ppid = getppid(); 407 ppid = getppid();
408 snprintf(s, 300, "/proc/%d/exe", ppid); 408 snprintf(s, 300, "/proc/%d/exe", ppid);
409 n = readlink(s, e, sizeof(e)); 409 n = readlink(s, e, sizeof(e));
410 e[MAX(n,sizeof(e)-1)] = '\0'; 410 e[MIN(n,sizeof(e)-1)] = '\0';
411 411
412 if(strstr(e,"gdb")) { 412 if(strstr(e,"gdb")) {
413 gaim_debug(GAIM_DEBUG_INFO, "dns", 413 gaim_debug(GAIM_DEBUG_INFO, "dns",
414 "Debugger detected, performing useless query...\n"); 414 "Debugger detected, performing useless query...\n");
415 gethostbyname("x.x.x.x.x"); 415 gethostbyname("x.x.x.x.x");