File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ ps_root_readerrorcb(struct psr_ctx *psr_ctx)
115115 {
116116 void * d = realloc (psr_ctx -> psr_mdata , psr_error -> psr_datalen );
117117
118- /* If we failed to malloc then psr_mdatalen will be smaller
118+ /* If we failed to realloc then psr_mdatalen will be smaller
119119 * than psr_datalen.
120120 * The following recvmsg will get MSG_TRUNC so the malloc error
121121 * will be reported there but more importantly the
@@ -140,9 +140,6 @@ ps_root_readerrorcb(struct psr_ctx *psr_ctx)
140140 }
141141
142142recv :
143- /* fd is SOCK_SEQPACKET and we mark the boundary with MSG_EOR
144- * so this can never stall if the receive buffers are bigger
145- * than the actual message. */
146143 len = recvmsg (fd , & msg , MSG_WAITALL );
147144 if (len == -1 )
148145 PSR_ERROR (errno );
You can’t perform that action at this time.
0 commit comments