One of these Conntek RV 50-Amp Power Optimizer (2) RV 30-Amp Plug to 50-Amp 125/250-Volt 14-50R Female Connector ($49.99 AMAZON)

Probably wired like this DMBRUSS drawings..

This is a neat pictorial on how to measure a 50 AMP RECEPTACLE with a AC VOLTMETER. As stated above it is important that you measure the 240VAC between the two HOT connectors on the 50AMP Receptacle indicating you using a correct setup plugging in your two 30AMP PLUGS.

What you also don't want to happen is to have an AC 120VAC potential on the second 30AMP MALE PLUG when you plug the first 30AMP MALE PLUG into the source. Having a 120VAC potential on the second 30AMP POWER PLUG before you plug it into the second source of power could be a shocking experience... These are normally called 'WIDOW MAKER' cheater cords for obvious reasons... Most manufacturers will not sell these dangerous items that do this.. I would measure the plugs before handling them...
I personally would never do this but I guess alot of folks give it a try...

I actually very seldom see two RV30AMP receptacles on a camp site pedestal... Usually all you see is RV50A-RV30A-standard 20A connections with circuit breakers

All photos from GOOGLE IMAGES...
Roy Ken