diff options
Diffstat (limited to 'http-cgi.scm')
-rw-r--r-- | http-cgi.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/http-cgi.scm b/http-cgi.scm index 517e312..097da06 100644 --- a/http-cgi.scm +++ b/http-cgi.scm @@ -47,7 +47,7 @@ (set! http:crlf (string (string-ref line 0) #\newline))) (if (eof-object? line) line alist)) (let ((len (string-length line)) - (idx (string-index line #\:))) + (idx (strsrch:string-index line #\:))) (if (char-whitespace? (string-ref line (+ -1 len))) (set! len (+ -1 len))) (and idx (do ((idx2 (+ idx 1) (+ idx2 1))) @@ -68,9 +68,9 @@ (let* ((request-uri (cadr request-line)) (len (string-length request-uri))) (and (> len 3) - (string-index request-uri #\?) + (strsrch:string-index request-uri #\?) (substring request-uri - (+ 1 (string-index request-uri #\?)) + (+ 1 (strsrch:string-index request-uri #\?)) (if (eqv? #\/ (string-ref request-uri (+ -1 len))) (+ -1 len) len))))) |