Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a1aa8b7

Browse files
committed
Fix order of MemSet arguments
Noted by Tomas Vondra
1 parent 4b98016 commit a1aa8b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_basebackup/pg_basebackup.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ LogStreamerMain(logstreamer_param *param)
374374
{
375375
StreamCtl stream;
376376

377-
MemSet(&stream, sizeof(stream), 0);
377+
MemSet(&stream, 0, sizeof(stream));
378378
stream.startpos = param->startptr;
379379
stream.timeline = param->timeline;
380380
stream.sysidentifier = param->sysidentifier;

0 commit comments

Comments
 (0)