summaryrefslogtreecommitdiff
path: root/testing/nTox.c
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2013-07-31 10:36:02 +0200
committerMarco Hinz <mh.codebro@gmail.com>2013-07-31 10:36:02 +0200
commit439de6fa3ab50bcb4c401d9175b643b6188786d3 (patch)
tree014342b220b34b44e03d08f99f9c49321f45feeb /testing/nTox.c
parent52a77cc997e5c91fe2ed9244bfcfd9e379226091 (diff)
Fix space/tab indentation
Diffstat (limited to 'testing/nTox.c')
-rw-r--r--testing/nTox.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/testing/nTox.c b/testing/nTox.c
index 5c560079..04ae55cd 100644
--- a/testing/nTox.c
+++ b/testing/nTox.c
@@ -72,13 +72,13 @@ void print_friendlist()
72 72
73char *format_message(char *message, int friendnum) 73char *format_message(char *message, int friendnum)
74{ 74{
75 char name[MAX_NAME_LENGTH]; 75 char name[MAX_NAME_LENGTH];
76 if(friendnum != -1) { 76 if(friendnum != -1) {
77 getname(friendnum, (uint8_t*)name); 77 getname(friendnum, (uint8_t*)name);
78 } else { 78 } else {
79 getself_name((uint8_t*)name); 79 getself_name((uint8_t*)name);
80 } 80 }
81 char *msg = malloc(100+strlen(message)+strlen(name)+1); 81 char *msg = malloc(100+strlen(message)+strlen(name)+1);
82 time_t rawtime; 82 time_t rawtime;
83 struct tm * timeinfo; 83 struct tm * timeinfo;
84 time ( &rawtime ); 84 time ( &rawtime );
@@ -129,7 +129,7 @@ void line_eval(char lines[HISTORY][STRING_LENGTH], char *line)
129 if(m_sendmessage(num, (uint8_t*) message, sizeof(message)) != 1) { 129 if(m_sendmessage(num, (uint8_t*) message, sizeof(message)) != 1) {
130 new_lines("[i] could not send message"); 130 new_lines("[i] could not send message");
131 } else { 131 } else {
132 new_lines(format_message(message, -1)); 132 new_lines(format_message(message, -1));
133 } 133 }
134 } 134 }
135 else if (line[1] == 'n') { 135 else if (line[1] == 'n') {