src/irc.c
changeset 34 900bc2a53fd7
parent 33 56571d34d754
child 37 85891f91096c
equal deleted inserted replaced
33:56571d34d754 34:900bc2a53fd7
    76     /*
    76     /*
    77      * END OF STREAM
    77      * END OF STREAM
    78      */
    78      */
    79     stream = fdopen (csocket, "a+");
    79     stream = fdopen (csocket, "a+");
    80 #endif
    80 #endif
    81     csocket = fileno (stream);
       
    82 
       
    83     printf ("Using filedescriptor %d for stream operations\n", csocket);
       
    84     return stream;
    81     return stream;
    85 }
    82 }
    86 
    83 
    87 int irc_login (FILE * stream, char *server, char *nick, char *password)
    84 int irc_login (FILE * stream, char *server, char *nick, char *password)
    88 {
    85 {