[Commotion-admin] [commotiond] Correct error checking for # of parameters to 'get' command. (#93)

Josh King notifications at github.com
Fri Feb 21 19:11:32 UTC 2014


Corrects #78. Providing an insufficient number of parameters to the 'get' command no longer causes it to crash.

To test, run just 'get TEST' where 'TEST' is the name of a profile. You should get an 'invalid parameters' error and the daemon should not crash.
You can merge this Pull Request by running:

  git pull https://github.com/opentechinstitute/commotiond issue78

Or you can view, comment on it, or merge it online at:

  https://github.com/opentechinstitute/commotiond/pull/93

-- Commit Summary --

  * Correct error checking for # of parameters to 'get' command.

-- File Changes --

    M src/daemon.c (2)

-- Patch Links --

https://github.com/opentechinstitute/commotiond/pull/93.patch
https://github.com/opentechinstitute/commotiond/pull/93.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/opentechinstitute/commotiond/pull/93
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20140221/49c60e58/attachment.html>


More information about the Commotion-admin mailing list