Here is a recent installation done to my home
I took this one before i drained the water:

Note that this a p-trap that is installed at the external wall of my house. It would be in line with the p-trap of the kitchen sink, which very close at the other side of the wall.
My questions are:
- Is this a mistake?
- If so, what damage it can do?
- what is the correct part that needs to be installed?
update: I have rebuild it myself. here is the result, what do you think?

update 2 posted a folow up question: what is the correct procedure to patch up cinder block hole with plumbing?
