@@ -117,10 +117,10 @@ static char* keyring_object(struct credential *c)
117117 return object ;
118118
119119 object = (char * ) malloc (strlen (c -> host )+ strlen (c -> path )+ 8 );
120- if (!object )
120+ if (!object )
121121 die_errno (errno );
122122
123- if (c -> port )
123+ if (c -> port )
124124 sprintf (object ,"%s:%hd/%s" ,c -> host ,c -> port ,c -> path );
125125 else
126126 sprintf (object ,"%s/%s" ,c -> host ,c -> path );
@@ -314,14 +314,14 @@ int credential_read(struct credential *c)
314314 {
315315 line_len = strlen (buf );
316316
317- if (buf [line_len - 1 ]== '\n' )
317+ if (buf [line_len - 1 ]== '\n' )
318318 buf [-- line_len ]= '\0' ;
319319
320- if (!line_len )
320+ if (!line_len )
321321 break ;
322322
323323 value = strchr (buf ,'=' );
324- if (!value ) {
324+ if (!value ) {
325325 warning ("invalid credential line: %s" , key );
326326 return -1 ;
327327 }
@@ -379,9 +379,9 @@ static void usage(const char *name)
379379
380380 basename = (basename ) ? basename + 1 : name ;
381381 fprintf (stderr , "usage: %s <" , basename );
382- while (try_op -> name ) {
382+ while (try_op -> name ) {
383383 fprintf (stderr ,"%s" ,(try_op ++ )-> name );
384- if (try_op -> name )
384+ if (try_op -> name )
385385 fprintf (stderr ,"%s" ,"|" );
386386 }
387387 fprintf (stderr ,"%s" ,">\n" );
@@ -400,15 +400,15 @@ int main(int argc, char *argv[])
400400 }
401401
402402 /* lookup operation callback */
403- while (try_op -> name && strcmp (argv [1 ], try_op -> name ))
403+ while (try_op -> name && strcmp (argv [1 ], try_op -> name ))
404404 try_op ++ ;
405405
406406 /* unsupported operation given -- ignore silently */
407- if (!try_op -> name || !try_op -> op )
407+ if (!try_op -> name || !try_op -> op )
408408 goto out ;
409409
410410 ret = credential_read (& cred );
411- if (ret )
411+ if (ret )
412412 goto out ;
413413
414414 /* perform credential operation */
0 commit comments