diff --git a/webshell/tests/viewer/macToBeImplemented.cp b/webshell/tests/viewer/macToBeImplemented.cp index 9975efc5926..d02a4f7e45a 100644 --- a/webshell/tests/viewer/macToBeImplemented.cp +++ b/webshell/tests/viewer/macToBeImplemented.cp @@ -26,7 +26,12 @@ /* Netlib utility routine, should be ripped out */ void FE_FileType(char * path, Bool * useDefault, char ** fileType, char ** encoding) { - return; + if ((path == NULL) || (fileType == NULL) || (encoding == NULL)) + return; + + *useDefault = TRUE; + *fileType = NULL; + *encoding = NULL; } #include "mcom_db.h" @@ -38,7 +43,7 @@ DB * dbopen(const char *fname, int flags,int mode, DBTYPE type, const void *open char * XP_FileReadLine(char * dest, int32 bufferSize, XP_File file) { - PR_ASSERT("UNIMPLEMENTED"); + PR_ASSERT(FALSE); return NULL; }