Compare commits
2 Commits
3f8f3a227a
...
9bc9bd0934
Author | SHA1 | Date | |
---|---|---|---|
9bc9bd0934 | |||
82ee6d5cdb |
3
Makefile
3
Makefile
@ -9,3 +9,6 @@ probotic: $(SRC) $(HDR)
|
||||
|
||||
# do nothing but update them...
|
||||
$(SRC) $(HDR):
|
||||
|
||||
run:
|
||||
./probotic -server irc.rizon.net -port 6667 -username probotic -channel '#/g/chad'
|
||||
|
@ -115,7 +115,7 @@ DECL char *
|
||||
raw(const char * const sql)
|
||||
{
|
||||
char* errmsg;
|
||||
char* r = (char*)malloc(10000);
|
||||
char* r = (char*)calloc(sizeof(char), 10000); // TODO: allow for reallocing in rtos, start with a smaller value
|
||||
DBUSERERR(sqlite3_exec(connection, sql, rtos, &r, &errmsg));
|
||||
if (errmsg){
|
||||
free(r);
|
||||
|
Reference in New Issue
Block a user