@@ -1666,7 +1666,7 @@ static void handle_output_redirect (struct attach_ctx *ctx, json_t *context)
16661666 const char * path = NULL ;
16671667 if (!ctx -> output_header_parsed )
16681668 log_msg_exit ("stream redirect read before header" );
1669- if (json_unpack (context , "{ s:s s:s s?: s }" ,
1669+ if (json_unpack (context , "{ s:s s:s s?s }" ,
16701670 "stream" , & stream ,
16711671 "rank" , & rank ,
16721672 "path" , & path ) < 0 )
@@ -1700,7 +1700,7 @@ static void handle_output_log (struct attach_ctx *ctx,
17001700 json_error_t err ;
17011701
17021702 if (json_unpack_ex (context , & err , 0 ,
1703- "{ s?i s:i s:s s?: s s?: s s?: i }" ,
1703+ "{ s?i s:i s:s s?s s?s s?i }" ,
17041704 "rank" , & rank ,
17051705 "level" , & level ,
17061706 "message" , & msg ,
@@ -2008,7 +2008,7 @@ static void setup_mpir_interface (struct attach_ctx *ctx, json_t *context)
20082008 flux_future_t * f = NULL ;
20092009 int stop_tasks_in_exec = 0 ;
20102010
2011- if (json_unpack (context , "{s?: b}" , "sync" , & stop_tasks_in_exec ) < 0 )
2011+ if (json_unpack (context , "{s?b}" , "sync" , & stop_tasks_in_exec ) < 0 )
20122012 log_err_exit ("error decoding shell.init context" );
20132013
20142014 snprintf (topic , sizeof (topic ), "%s.proctable" , ctx -> service );
@@ -2513,7 +2513,7 @@ void attach_event_continuation (flux_future_t *f, void *arg)
25132513 int severity ;
25142514 const char * note = NULL ;
25152515
2516- if (json_unpack (context , "{s:s s:i s?: s}" ,
2516+ if (json_unpack (context , "{s:s s:i s?s}" ,
25172517 "type" , & type ,
25182518 "severity" , & severity ,
25192519 "note" , & note ) < 0 )
0 commit comments