Skip to content

Commit 4cb65e1

Browse files
committed
basebackup_to_shell: Add some const qualifiers for consistency
1 parent 369f09e commit 4cb65e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contrib/basebackup_to_shell/basebackup_to_shell.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,11 @@ shell_get_sink(bbsink *next_sink, void *detail_arg)
205205
* making substitutions as appropriate for escape sequences.
206206
*/
207207
static char *
208-
shell_construct_command(char *base_command, const char *filename,
209-
char *target_detail)
208+
shell_construct_command(const char *base_command, const char *filename,
209+
const char *target_detail)
210210
{
211211
StringInfoData buf;
212-
char *c;
212+
const char *c;
213213

214214
initStringInfo(&buf);
215215
for (c = base_command; *c != '\0'; ++c)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy