protocol

protocol tests
Log | Files | Refs | Submodules | README | git clone https://git.ne02ptzero.me/git/protocol

commit 3b756f49e45435023a18cc06eb8aa5f157732b64
parent 50f518a0f19d52e44865de7785ced391d5a1777b
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Sun, 26 Mar 2017 21:53:13 +0200

Add(client_test): Add a new column

Diffstat:
Msrc/client_test.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/client_test.c b/src/client_test.c @@ -37,6 +37,8 @@ SQL_CALLBACK_DEF(pkg_cb) { pkg->arch_hash = strdup(col_txt[i]); else if (strcmp(col_name[i], "state") == 0) pkg->state = PKG_STABLE; + else if (strcmp(col_name[i], "timeAddPkg") == 0) + ; else { printf("Unknown column: %s", col_name[i]);