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

+3-3
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)