/[winpt]/trunk/MyGPGME/rungpg.c
ViewVC logotype

Diff of /trunk/MyGPGME/rungpg.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 21 by twoaday, Mon May 9 08:53:51 2005 UTC revision 22 by twoaday, Wed Aug 10 11:33:35 2005 UTC
# Line 1223  read_status ( _gpg_object_t gpg ) Line 1223  read_status ( _gpg_object_t gpg )
1223      if (!nread) {      if (!nread) {
1224          gpg->status.eof = 1;          gpg->status.eof = 1;
1225          if (gpg->status.fnc)          if (gpg->status.fnc)
1226              gpg->status.fnc ( gpg->status.fnc_value, STATUS_EOF, "" );              gpg->status.fnc (gpg->status.fnc_value, STATUS_EOF, "");
1227          return 0;          return 0;
1228      }      }
1229    
# Line 1232  read_status ( _gpg_object_t gpg ) Line 1232  read_status ( _gpg_object_t gpg )
1232              if ( *p == '\n' ) {              if ( *p == '\n' ) {
1233                  /* (we require that the last line is terminated by a LF) */                  /* (we require that the last line is terminated by a LF) */
1234                  *p = 0;                  *p = 0;
1235                  /*DEBUG1("read_status: `%s'\n", buffer);*/                  DEBUG1("read_status: `%s'\n", buffer);
1236                  if (!strncmp (buffer, "[GNUPG:] ", 9 )                  if (!strncmp (buffer, "[GNUPG:] ", 9 )
1237                      && buffer[9] >= 'A' && buffer[9] <= 'Z' ) {                      && buffer[9] >= 'A' && buffer[9] <= 'Z' ) {
1238                      struct status_table_s t, *r;                      struct status_table_s t, *r;

Legend:
Removed from v.21  
changed lines
  Added in v.22

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26