mirror of
https://github.com/anope/anope.git
synced 2026-07-10 11:03:13 +02:00
BUILD : 1.7.6 (499) BUGS : NOTES : Fixed several compiler warnings with make strict, removed 2 deprecated config vars.
git-svn-id: svn://svn.anope.org/anope/trunk@499 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@353 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
44e6352387
commit
250a9f71cf
+3
-2
@@ -337,10 +337,11 @@ int loadModule(Module * m, User * u)
|
||||
strncpy(buf, MODULE_PATH, 4095); /* Get full path with .so extension */
|
||||
len = strlen(buf);
|
||||
strncat(buf, "runtime/", 4095 - len);
|
||||
len += strlen(buf);
|
||||
len = strlen(buf);
|
||||
strncat(buf, m->name, 4095 - len);
|
||||
len += strlen(buf);
|
||||
len = strlen(buf);
|
||||
strncat(buf, ".so", 4095 - len);
|
||||
buf[4095] = '\0';
|
||||
|
||||
m->filename = sstrdup(buf);
|
||||
#ifdef HAS_RTLD_LOCAL
|
||||
|
||||
Reference in New Issue
Block a user