summaryrefslogtreecommitdiffstats
path: root/gnupgparse.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-11-10 22:14:00 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-11-10 22:14:00 +0000
commita3f726e35f1e7d918061074a85ebe7a2c7c300a5 (patch)
treed9ab2a281be2a13fbb1ec8682d4e5c7ff0502cde /gnupgparse.c
parent912c6b0df82fe3a2745d68131db9300222226a73 (diff)
Introduce or rewrite mutt_{str*cmp,strlen} and use them all over the
place. If there are still segmentation faults due to missing NONULLs over, they are gone now.
Diffstat (limited to 'gnupgparse.c')
-rw-r--r--gnupgparse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnupgparse.c b/gnupgparse.c
index 810db81f..6ec96a80 100644
--- a/gnupgparse.c
+++ b/gnupgparse.c
@@ -69,13 +69,13 @@ static KEYINFO *parse_pub_line( char *buf, int *is_subkey )
switch( field ) {
case 1: /* record type */
- if( !strcmp(p,"pub") )
+ if( !mutt_strcmp(p,"pub") )
;
- else if( !strcmp(p,"sub") )
+ else if( !mutt_strcmp(p,"sub") )
*is_subkey = 1;
- else if( !strcmp(p,"sec") )
+ else if( !mutt_strcmp(p,"sec") )
;
- else if( !strcmp(p,"ssb") )
+ else if( !mutt_strcmp(p,"ssb") )
*is_subkey = 1;
else
return NULL;