Fixed missing atoi + changed Init to InitColorChord
This commit is contained in:
parent
941b75f0a6
commit
9d873cf9b5
|
@ -11,6 +11,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h> // Added by [olel] for atoi
|
||||||
#include "embeddedout.h"
|
#include "embeddedout.h"
|
||||||
|
|
||||||
struct sockaddr_in servaddr;
|
struct sockaddr_in servaddr;
|
||||||
|
@ -64,7 +65,7 @@ int main( int argc, char ** argv )
|
||||||
|
|
||||||
connect( sock, (struct sockaddr *)&servaddr, sizeof(servaddr) );
|
connect( sock, (struct sockaddr *)&servaddr, sizeof(servaddr) );
|
||||||
|
|
||||||
Init();
|
InitColorChord(); // Changed by [olel] cause this was changed in embeddednf
|
||||||
|
|
||||||
while( ( ci = getchar() ) != EOF )
|
while( ( ci = getchar() ) != EOF )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue