Content-Length: 257045 | pFad | http://github.com/postgrespro/postgres_cluster/commit/a1aa8b7ea0558620106e25c27d0a70ee4ac9d6a8

EF Fix order of MemSet arguments · postgrespro/postgres_cluster@a1aa8b7 · GitHub
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

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/a1aa8b7ea0558620106e25c27d0a70ee4ac9d6a8

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy