home · contact · privacy
Make server config files more readable, their parsing more lenient.
[plomrogue] / src / common / err_try_fgets.h
index 6bb07ee4036d852d0f333e0f783e77a086a6b622..7258a882f9a01a652cf5e21c2c506ee0f56860be 100644 (file)
@@ -45,8 +45,8 @@ extern void err_line(uint8_t test, char * line, char * intro, char * msg);
  *       be '+' or '-'; a '+' or '-' without digits following is invalid)
  * '8': check for "line" describing an integer smaller than or equal UINT8_MAX
 */
-extern void err_try_fgets(char * line, uint32_t linemax, FILE * file,
-                          char * context, char * test);
+extern char * err_try_fgets(char * line, uint32_t linemax, FILE * file,
+                            char * context, char * test);