Of course sscanf + %s@%s won't work -> even uglier code replaces it.