aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sledjchisl/sledjchisl.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index f87e44f..aa5c78e 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -56,7 +56,7 @@ extern char **environ;
56#include <my_global.h> 56#include <my_global.h>
57#include <mysql.h> 57#include <mysql.h>
58 58
59// TODO - audit all the alloc()s and free()s involved in qlibc stuff. 59// TODO - audit all the alloc()s and free()s involved in qLibc stuff.
60#include <qlibc.h> 60#include <qlibc.h>
61#include <extensions/qconfig.h> 61#include <extensions/qconfig.h>
62 62
@@ -79,7 +79,7 @@ GLOBALS(
79 79
80 80
81 81
82// Duplicate some small amount of code from qlibc, coz / and = are not good choices, and the standard says we can pick those. 82// Duplicate some small amount of code from qLibc, coz / and = are not good choices, and the standard says we can pick those.
83/** 83/**
84 * Encode data using BASE64 algorithm. 84 * Encode data using BASE64 algorithm.
85 * 85 *
@@ -2672,7 +2672,7 @@ HTMLfile *checkHTMLcache(char *file)
2672 Starting to get into object oriented territory here. B-) 2672 Starting to get into object oriented territory here. B-)
2673 I'll have to do it eventually anyway. 2673 I'll have to do it eventually anyway.
2674 object->tostring(object), and replace the big switch() statements in the existing db code with small functions. 2674 object->tostring(object), and replace the big switch() statements in the existing db code with small functions.
2675 That's why the qlibc stuff has that format, coz C doesn't understand the concept of passing "this" as the first argument. 2675 That's why the qLibc stuff has that format, coz C doesn't understand the concept of passing "this" as the first argument.
2676 https://stackoverflow.com/questions/351733/how-would-one-write-object-oriented-code-in-c 2676 https://stackoverflow.com/questions/351733/how-would-one-write-object-oriented-code-in-c
2677 https://stackoverflow.com/questions/415452/object-orientation-in-c 2677 https://stackoverflow.com/questions/415452/object-orientation-in-c
2678 http://ooc-coding.sourceforge.net/ 2678 http://ooc-coding.sourceforge.net/
@@ -4117,7 +4117,7 @@ void accountCreationPage(reqData *Rd, char *message)
4117 name = getStrH(Rd->stuff, "name"); 4117 name = getStrH(Rd->stuff, "name");
4118 4118
4119// TODO - eww lots of memory leaks here. 4119// TODO - eww lots of memory leaks here.
4120// TODO - need to check if qlibc does it's own free() calls, and fill in the gaps for when it doesn't. 4120// TODO - need to check if qLibc does it's own free() calls, and fill in the gaps for when it doesn't.
4121 HTMLheader(Rd->reply, "<!--#echo var=\"grid\" --> account manager"); 4121 HTMLheader(Rd->reply, "<!--#echo var=\"grid\" --> account manager");
4122 HTMLdebug(Rd->reply); 4122 HTMLdebug(Rd->reply);
4123 Rd->reply->addstrf(Rd->reply, "<h1><!--#echo var=\"grid\" --> account manager</h1>\n"); 4123 Rd->reply->addstrf(Rd->reply, "<h1><!--#echo var=\"grid\" --> account manager</h1>\n");
@@ -4736,9 +4736,9 @@ jit library is loaded or the JIT compiler will not be activated.
4736 snprintf(toybuf, sizeof(toybuf), "%s/config/config.ini", scRoot); 4736 snprintf(toybuf, sizeof(toybuf), "%s/config/config.ini", scRoot);
4737 4737
4738// TODO - it looks like OpenSim invented their own half arsed backwards INI file include system. 4738// TODO - it looks like OpenSim invented their own half arsed backwards INI file include system.
4739// I doubt qlibc supports it, like it supports what seems to be the standard include system. 4739// I doubt qLibc supports it, like it supports what seems to be the standard include system.
4740// Not sure if we need to worry about it just yet. 4740// Not sure if we need to worry about it just yet.
4741// TODO - this leaks memory, but I suspect it's a bug in qLib. 4741// TODO - this leaks memory, but I suspect it's a bug in qLibc.
4742 qlisttbl_t *qconfig = qconfig_parse_file(NULL, toybuf, '='); 4742 qlisttbl_t *qconfig = qconfig_parse_file(NULL, toybuf, '=');
4743 if (NULL == qconfig) 4743 if (NULL == qconfig)
4744 { 4744 {