Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions common/wireaddr.c
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,10 @@ char *fmt_wireaddr(const tal_t *ctx, const struct wireaddr *a)
bool separate_address_and_port(const tal_t *ctx, const char *arg,
char **addr, u16 *port)
{
char *portcolon;
const char *portcolon;

if (strstarts(arg, "[")) {
char *end = strchr(arg, ']');
const char *end = strchr(arg, ']');
if (!end)
return false;
/* Copy inside [] */
Expand Down
2 changes: 1 addition & 1 deletion connectd/tor_autoservice.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ static void negotiate_auth(struct rbuf *rbuf, const char *tor_password)
tor_send_cmd(rbuf, "PROTOCOLINFO 1");

while ((line = tor_response_line(rbuf)) != NULL) {
const char *p;
char *p;

if (!strstarts(line, "AUTH METHODS="))
continue;
Expand Down
4 changes: 2 additions & 2 deletions db/db_sqlite3.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,8 @@ static char **prepare_table_manip(const tal_t *ctx,
struct db *db, const char *tablename)
{
sqlite3_stmt *stmt;
const char *sql;
char *cmd, *bracket;
const char *sql, *bracket;
char *cmd;
char **parts;
int err;
struct db_sqlite3 *wrapper = (struct db_sqlite3 *)db->conn;
Expand Down
2 changes: 1 addition & 1 deletion devtools/check-bolt.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ static void fail_mismatch(const char *filename,
static bool find_strings(const char *bolttext, char **strings, size_t nstrings)
{
const char *p = bolttext;
char *find;
const char *find;

if (nstrings == 0)
return true;
Expand Down
2 changes: 1 addition & 1 deletion plugins/spender/multifundchannel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1846,7 +1846,7 @@ param_destinations_array(struct command *cmd, const char *name,
json_for_each_arr(i, json_dest, tok) {
struct multifundchannel_destination *dest;
const char *id;
char *addrhint;
const char *addrhint;
struct amount_sat *amount, *request_amt;
bool *announce;
struct amount_msat *push_msat;
Expand Down
Loading