projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed Makefile; build all commands as an own file
[NeonServV5.git]
/
cmd_neonserv_netinfo.c
diff --git
a/cmd_neonserv_netinfo.c
b/cmd_neonserv_netinfo.c
index 5d814d8f8d9efb9fe0db6050013a91d3be351710..c8fd1b643d87ecaa4fea62678e2e0ca9912c8765 100644
(file)
--- a/
cmd_neonserv_netinfo.c
+++ b/
cmd_neonserv_netinfo.c
@@
-1,9
+1,11
@@
+#include "cmd_neonserv.h"
+
/*
* no args
*/
/*
* no args
*/
-
static
CMD_BIND(neonserv_cmd_netinfo) {
+CMD_BIND(neonserv_cmd_netinfo) {
reply(getTextBot(), user, "NS_NETINFO_HEADER");
char tmp[MAXLEN];
struct Table *table;
reply(getTextBot(), user, "NS_NETINFO_HEADER");
char tmp[MAXLEN];
struct Table *table;
@@
-71,7
+73,6
@@
static CMD_BIND(neonserv_cmd_netinfo) {
MYSQL_RES *res;
MYSQL_ROW row;
MYSQL_RES *res;
MYSQL_ROW row;
- check_mysql();
printf_mysql_query("SHOW TABLE STATUS");
res = mysql_use();
int mysql_entrys[4];
printf_mysql_query("SHOW TABLE STATUS");
res = mysql_use();
int mysql_entrys[4];