Преглед изворни кода

* Fix botlink problems when hub and leaf nicks are long

Found-by: smokey
Bryan Drewery пре 17 година
родитељ
комит
7ceaed4296
2 измењених фајлова са 2 додато и 1 уклоњено
  1. 1 0
      doc/UPDATES
  2. 1 1
      src/enclink.c

+ 1 - 0
doc/UPDATES

@@ -36,6 +36,7 @@
 * Fix botcmd to make sure that results are delivered only to the requester (fixes #208)
 * Fix issues with server-port not being updated to the current server list (fixes #176)
 * Fix aliases not properly indicating bad command on leaf bots (fixes #297)
+* Fix botlink problems when hub and leaf nicks are long
 
 1.2.16 - http://wraith.botpack.net/milestone/1.2.16
 * Add 'set altchars' so that alternative characters used for nicks can be changed. (fixes #418)

+ 1 - 1
src/enclink.c

@@ -37,7 +37,7 @@ static void ghost_link_case(int idx, direction_t direction)
 
   if (snum >= 0) {
     char initkey[33] = "", *tmp2 = NULL;
-    char tmp[70] = "";
+    char tmp[90] = "";
     char *keyp = NULL, *nick1 = NULL, *nick2 = NULL;
     port_t port = 0;
     const char salt1[] = SALT1;