diff options
author | josh.macdonald <jmacd@users.noreply.github.com> | 2007-02-13 19:07:33 +0000 |
---|---|---|
committer | josh.macdonald <jmacd@users.noreply.github.com> | 2007-02-13 19:07:33 +0000 |
commit | 990289208d555a760499623e30682d6fe19216e7 (patch) | |
tree | 480dce4835b2aba58cb9b5d1cbd097a962156c7e /xdelta3/xdelta3-python.h | |
parent | 4be58a9a9ab199ef2b3765f57e649398e8dd5890 (diff) |
Cleanup -regtest.py. Comment on crash in -python.h
Diffstat (limited to 'xdelta3/xdelta3-python.h')
-rw-r--r-- | xdelta3/xdelta3-python.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xdelta3/xdelta3-python.h b/xdelta3/xdelta3-python.h index a91b7f2..4805b17 100644 --- a/xdelta3/xdelta3-python.h +++ b/xdelta3/xdelta3-python.h | |||
@@ -51,6 +51,7 @@ PyObject *xdelta3_main_cmdline (PyObject *self, PyObject *args) | |||
51 | PyObject *s; | 51 | PyObject *s; |
52 | if ((s = PyList_GetItem (o, i-1)) == NULL) { goto cleanup; } | 52 | if ((s = PyList_GetItem (o, i-1)) == NULL) { goto cleanup; } |
53 | ps = PyString_AsString (s); | 53 | ps = PyString_AsString (s); |
54 | /* TODO: ps is NULL if s is not a string, crashes the interpreter */ | ||
54 | argv[i] = ps; | 55 | argv[i] = ps; |
55 | } | 56 | } |
56 | 57 | ||