Merge pull request #157 from fishilico/swig-exception-typo

policyrep: fix a mispelling in SWIG error message
This commit is contained in:
Chris PeBenito 2016-11-13 00:38:17 -05:00 committed by GitHub
commit e434c1e688

View File

@ -1138,7 +1138,7 @@ typedef struct qpol_iterator {} qpol_iterator_t;
%extend qpol_iterator {
/* user never directly creates, but SWIG expects a constructor */
qpol_iterator() {
SWIG_exception(SWIG_TypeError, "User may not create iterators difectly");
SWIG_exception(SWIG_TypeError, "User may not create iterators directly");
fail:
return NULL;
};