Overview
Comment: | fix idiot typo |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | trunk |
Files: | files | file ages | folders |
SHA3-256: |
a1d7d9de5e60d016ee477a072f819c18 |
User & Date: | lexi on 2025-04-15 10:28:43 |
Other Links: | manifest | tags |
Context
2025-04-15
| ||
10:28 | fix idiot typo Leaf check-in: a1d7d9de5e user: lexi tags: trunk | |
10:22 | kill v4 support; this was never implemented on comint and only causes problems. a thousand tortures to the enemies of v6!! check-in: 5c657640bd user: u0_a153 tags: trunk | |
Changes
Modified wgsync/src/pqp.c from [64ffbf7186] to [720f5ee89f].
8 8 } pq_array; 9 9 10 10 typedef _layout pq_array_elt { 11 11 uint32_t sz; /* -1 for null */ 12 12 char body []; 13 13 } pq_array_elt; 14 14 15 -#include <stdio.h> 16 15 struct pqp_array* 17 16 pqp_array_read(const void* pqary) { 18 17 const pq_array* pqa = pqary; 19 18 pqp_array* r = calloc(1, sizeof(pqp_array) 20 19 + (sizeof(pqp_array_elt) * pqa -> nelts)); 21 20 *r = (pqp_array) { 22 21 .ty = ntohl(pqa -> ty),
Modified wgsync/src/wgsync.c from [d78cd2aaf3] to [5c0a7396a9].
451 451 char* connstr = getenv("wgsync_conn"); 452 452 if(connstr == null) _fatal("no connection string supplied"); 453 453 PGconn* db = PQconnectdb(connstr); 454 454 if(PQstatus(db) != CONNECTION_OK) 455 455 _fatal(PQerrorMessage(db)); 456 456 457 457 PGresult* q_get_hosts = PQprepare(db, "get_hosts", 458 - "select h.ref, array_remove( 458 + "select h.ref, array_remove(" 459 459 /* "select h.ref, array_remove(array_agg(wgv4::inet) ||" */ 460 460 "array_agg(wgv6::inet), null)" 461 461 "from ns, hostref h " 462 462 "where ns.host = h.host and kind = 'pubkey' " 463 463 " group by h.host, h.ref;", 0, null); 464 464 /*"select ns.wgv4::inet, ns.wgv6::inet, h.ref from ns " 465 465 "right join hostref h "