Skip to contentSkip to conversation

core: Convert the function process_ipcsec to the, return type bool

PATCH Joe Perches 1 participant 1 message May 28, 2015 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 4 lines · Nicholas Krause

This makes the function,process_ipsec have a return true of bool now due to only returning 1 or 0. In additon this changes this function's return statements to return true and false rather then 1 and 0 respectfully.

The patch subject title and the grammar in the commit message could be improved, but other than that, it seems OK to me.

I would have written something like:

Subject: [PATCH] pktgen: Convert return type of process_ipsec to bool

It's used as a bool function, make it so.
Convert the return 1/0 to return true/false too.

Signed-off-by etc...