Skip to content

Commit

Permalink
Connecting to default pg-backup-api port: 7480/TCP
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalemario committed Mar 7, 2023
1 parent 81c3200 commit 03c2ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgbackupapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ size_t receive_operations_cb(void *content, size_t size, size_t nmemb, char *buf
}

char * define_base_url(operation_task *task) {
char *format = "http://%s:80/servers/%s/operations";
char *format = "http://%s:7480/servers/%s/operations";
char *url = malloc(MAX_BUFFER_LENGTH);

snprintf(url, MAX_BUFFER_LENGTH-1, format, task->host, task->node_name);
Expand Down

0 comments on commit 03c2ae1

Please sign in to comment.