Commits

Jilles Tjoelker  committed 1d8d78d

Get rid of local variable shadowing.

  • Participants
  • Parent commits 54b12a4

Comments (0)

Files changed (1)

File modules/m_testline.c

 
 		if(aconf->status & CONF_KILL)
 		{
-			char *user, *host, *reason, *operreason;
+			char *puser, *phost, *reason, *operreason;
 			char reasonbuf[BUFSIZE];
-			get_printable_kline(source_p, aconf, &host, &reason, &user, &operreason);
+			get_printable_kline(source_p, aconf, &phost, &reason, &puser, &operreason);
 			rb_snprintf(buf, sizeof(buf), "%s@%s", 
-					user, host);
+					puser, phost);
 			rb_snprintf(reasonbuf, sizeof(reasonbuf), "%s%s%s", reason,
 				operreason ? "|" : "", operreason ? operreason : "");
 			sendto_one(source_p, form_str(RPL_TESTLINE),