[Verse-cvs] [verse] SVN commit:[4522] - Fixed typo
Jiri Hnidek
jiri.hnidek at tul.cz
Tue Feb 5 15:03:21 CET 2008
Revision: 4522
https://svn.blender.org//revision/?rev=4522&view=rev
Author: jiri
Date: 2008-02-05 15:03:21 +0100 (Tue, 05 Feb 2008)
Log Message:
-----------
- Fixed typo
- Fixed problems with Linux version. Linux
PAM module send "Password: " message, but
Mac OS X send "Password:" message.
Modified Paths:
--------------
branches/verse-pam-branch/vs_main.c
Modified: branches/verse-pam-branch/vs_main.c
===================================================================
--- branches/verse-pam-branch/vs_main.c 2008-02-01 11:14:15 UTC (rev 4521)
+++ branches/verse-pam-branch/vs_main.c 2008-02-05 14:03:21 UTC (rev 4522)
@@ -64,10 +64,10 @@
switch(msg[i]->msg_style) {
case PAM_PROMPT_ECHO_ON:
fprintf(stdout, "%s", msg[i]->msg);
- /* not neccessary for out needs */
+ /* not neccessary for our needs */
break;
case PAM_PROMPT_ECHO_OFF:
- if(strcmp("Password:",msg[i]->msg)==0) {
+ if(strncmp("Password:",msg[i]->msg,9)==0) {
r[i].resp = strdup((char*)appdata_ptr);
if(r[i].resp == NULL)
goto fail;
More information about the Verse-cvs
mailing list