diff options
author | David Cantrell <dcantrell@redhat.com> | 2007-03-09 18:44:26 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2007-03-09 18:44:26 +0000 |
commit | 043418117903a492465acbf79280c5ecd7cea46b (patch) | |
tree | a57a88d2a1d73cf11323b1eae1adc000c687c1f8 /isys | |
parent | 4f12e47a03567c9d579e5e1f67ae99abed363cd5 (diff) | |
download | anaconda-043418117903a492465acbf79280c5ecd7cea46b.tar.gz anaconda-043418117903a492465acbf79280c5ecd7cea46b.tar.xz anaconda-043418117903a492465acbf79280c5ecd7cea46b.zip |
For fuck's sake. You'd think I had never used a pointer before. Don't
worry, I'll punish myself.
Diffstat (limited to 'isys')
-rw-r--r-- | isys/str.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isys/str.c b/isys/str.c index ce2e750cb..4508b116d 100644 --- a/isys/str.c +++ b/isys/str.c @@ -88,7 +88,7 @@ char *strindex(char *str, int ch) { return str; else str++; - } while (str != NULL); + } while (*str != '\0'); return NULL; } |