eb90b23bc937e63294313f2dfa2245f277a6a48d chinhli Thu May 17 14:17:46 2012 -0700 Removed commented out code and corrected indent errors based on Code Review #7932 feedback from Brian. diff --git src/hg/hgLogin/hgLogin.c src/hg/hgLogin/hgLogin.c index bda53bb..8b9e616 100644 --- src/hg/hgLogin/hgLogin.c +++ src/hg/hgLogin/hgLogin.c @@ -285,31 +285,32 @@ /* send mail to email address */ { char *hgLoginHost = wikiLinkHost(); char *obj = cartUsualString(cart, "hgLogin_helpWith", ""); char cmd[4096]; safef(cmd,sizeof(cmd), "echo '%s' | mail -s \"%s\" %s" , msg, subject, email); int result = system(cmd); if (result == -1) { hPrintf( "

UCSC Genome Browser

" "

" "

" "

Error emailing %s to: %s

" - "Click here to return.
", obj, email ); + "Click here to return.
", + obj, email ); } else { hPrintf("", hgLoginHost); } } void mailUsername(char *email, char *users) /* send user name list to the email address */ { @@ -351,32 +352,30 @@ char signature[256]="\nUCSC Genome Browser \nhttp://www.genome.ucsc.edu "; char *remoteAddr=getenv("REMOTE_ADDR"); safef(subject, sizeof(subject),"New temporary password for UCSC Genome Browse"); safef(msg, sizeof(msg), "Someone (probably you, from IP address %s) requested a new password for UCSC Genome Browser (http://genome.ucsc.edu). A temporary password for user \"%s\" has been created and was set to \"%s\". If this was your intent, you will need to log in and choose a new password now. Your temporary password will expire in 7 days.\nIf someone else made this request, or if you have remembered your password, and you no longer wish to change it, you may ignore this message and continue using your old password.\n", remoteAddr, username, password); safecat (msg, sizeof(msg), signature); sendMailOut(email, subject, msg); } void displayAccHelpPage(struct sqlConnection *conn) /* draw the account help page */ { char *email = cartUsualString(cart, "hgLogin_email", ""); char *username = cartUsualString(cart, "hgLogin_userName", ""); -//cartRemove(cart, "hgLogin_helpWith"); -//cartRemove(cart, "hgLogin_email"); hPrintf("