diff options
author | June McEnroe <june@causal.agency> | 2020-07-24 14:19:41 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-07-24 14:19:41 -0400 |
commit | 434a537d660d41b030e409a3c3d9d0ffafe0c8f2 (patch) | |
tree | 482b43bb94f0ab2b0e31271bdde9337d64afa6bb /rc.d | |
parent | Fix select #define (diff) | |
download | litterbox-434a537d660d41b030e409a3c3d9d0ffafe0c8f2.tar.gz litterbox-434a537d660d41b030e409a3c3d9d0ffafe0c8f2.zip |
Use asprintf to concatenate query
Newer gcc will point out that concatenating 3 buffers of 4096 bytes into a buffer of 4096 might truncate, which I don't care about because the query should never be 4K anyway, but it's simple to use asprintf here.
Diffstat (limited to 'rc.d')
0 files changed, 0 insertions, 0 deletions