]> diplodocus.org Git - nmh/blobdiff - sbr/mime_type.c
inc/test-eom-align: Use octal, not hex, in printf(1) format string.
[nmh] / sbr / mime_type.c
index 0bfc337..cc6b1fb 100644 (file)
@@ -148,7 +148,7 @@ get_file_info(const char *proc, const char *file_name)
     if (!ok)
         return NULL;
 
-    /* s#^.*:[ \t]*##. */
+    /* s#^[^:]*:[ \t]*##. */
     info = buf;
     if ((needle = strchr(info, ':'))) {
         info = needle + 1;