Content-Length: 258908 | pFad | http://github.com/postgrespro/postgres_cluster/commit/5f3f222736af3e9d708b5021fa01ad9f48f077ba

59 Fix order of MemSet arguments · postgrespro/postgres_cluster@5f3f222 · GitHub
Skip to content

Commit 5f3f222

Browse files
mhaganderkelvich
authored andcommitted
Fix order of MemSet arguments
Noted by Tomas Vondra
1 parent c7904af commit 5f3f222

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_basebackup/pg_basebackup.c

Lines changed: 1 addition & 1 deletion
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/5f3f222736af3e9d708b5021fa01ad9f48f077ba

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy