I have discovered a small slow leak on the wall opposite side of the shower (ground floor). Looking at the shower drain, don't think this is correct. Please note the space in the second picture. Any suggestions? Thanks.

Shower drain:


A closer look-- why is there a space between the two pipes? Could this be the cause of my problem?