1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

Release snapshot 1.0.4d

This commit is contained in:
Werner Koch 2001-01-11 13:20:02 +00:00
parent bb8276a4ee
commit 90ddf482d0
24 changed files with 2073 additions and 2006 deletions

View file

@ -137,6 +137,7 @@ get_status_string ( int no )
case STATUS_BEGIN_STREAM : s = "BEGIN_STREAM"; break;
case STATUS_END_STREAM : s = "END_STREAM"; break;
case STATUS_KEY_CREATED : s = "KEY_CREATED"; break;
case STATUS_USERID_HINT : s = "USERID_HINT"; break;
default: s = "?"; break;
}
return s;
@ -194,7 +195,14 @@ write_status_text ( int no, const char *text)
fputs ( get_status_string (no), statusfp );
if( text ) {
putc ( ' ', statusfp );
fputs ( text, statusfp );
for (; *text; text++) {
if (*text == '\n')
fputs ( "\\n", statusfp );
else if (*text == '\r')
fputs ( "\\r", statusfp );
else
putc ( *(const byte *)text, statusfp );
}
}
putc ('\n',statusfp);
fflush (statusfp);