diff --git a/src/server/distrend.c b/src/server/distrend.c --- a/src/server/distrend.c +++ b/src/server/distrend.c @@ -356,9 +356,6 @@ void registeruser(char *username, char * if(readlen > 9) { fprintf(stderr, "!!!! Something is terribly wrong!\n"); } - if(buf == 0) { - fprintf(stderr, "Make this throw a successfull message if no output is returned... maybe"); - } buf[readlen] = '\0'; // Null-terminating the end of it again based on how large the data is? fprintf(stderr, "read \"%s\"\n", buf); } @@ -390,9 +387,6 @@ void loginuser(char *username, int secre if(readlen > 9) { fprintf(stderr, "!!!! Something is terribly wrong!\n"); } - if(buf == 0) { - fprintf(stderr, "Put stuff here-ish to check whether the operation(s) were successful."); - } buf[readlen] = '\0'; // Null-terminating the end of it again based on how large the data is? fprintf(stderr, "read \"%s\"\n", buf); }