[PATCH] Fix JSON API
Ralph Böhme
slow at samba.org
Tue Jul 17 12:51:32 UTC 2018
Hi Gary,
On Tue, Jul 17, 2018 at 04:22:21PM +1200, Gary Lockyer via samba-technical wrote:
>+ rc = json_add_version(&authentication, AUTH_MAJOR, AUTH_MINOR);
>+ if (rc) {
can you convert all the "if (rc)" into "if (rc != 0)" as suggested by
README.Coding? Should be doable with a sed inplace replacement.
Thanks!
-slow
--
Ralph Boehme, Samba Team https://samba.org/
Samba Developer, SerNet GmbH https://sernet.de/en/samba/
GPG Key Fingerprint: FAE2 C608 8A24 2520 51C5
59E4 AA1E 9B71 2639 9E46
More information about the samba-technical
mailing list