summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/nTox_win32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/nTox_win32.c b/testing/nTox_win32.c
index dbbd0f6e..2e6451f3 100644
--- a/testing/nTox_win32.c
+++ b/testing/nTox_win32.c
@@ -86,7 +86,7 @@ void print_nickchange(int friendnumber, uint8_t *string, uint16_t length)
86 printf(msg); 86 printf(msg);
87} 87}
88 88
89void print_statuschange(int friendnumber, USERSTATUS_KIND kind, uint8_t *string, uint16_t length) 89void print_statuschange(int friendnumber, uint8_t *string, uint16_t length)
90{ 90{
91 char name[MAX_NAME_LENGTH]; 91 char name[MAX_NAME_LENGTH];
92 getname(friendnumber, (uint8_t*)name); 92 getname(friendnumber, (uint8_t*)name);
@@ -275,7 +275,7 @@ void change_status(int savetofile)
275 } 275 }
276 276
277 status[i-3] = 0; 277 status[i-3] = 0;
278 m_set_userstatus(status, strlen((char*)status)); 278 m_set_userstatus(m_get_userstatus_kind(0), status, strlen((char*)status));
279 char numstring[100]; 279 char numstring[100];
280 sprintf(numstring, "\n[i] changed status to %s\n\n", (char*)status); 280 sprintf(numstring, "\n[i] changed status to %s\n\n", (char*)status);
281 printf(numstring); 281 printf(numstring);
@@ -407,7 +407,7 @@ int main(int argc, char *argv[])
407 while (fgets(line, MAX_USERSTATUS_LENGTH, status_file) != NULL) { 407 while (fgets(line, MAX_USERSTATUS_LENGTH, status_file) != NULL) {
408 sscanf(line, "%s", (char*)status); 408 sscanf(line, "%s", (char*)status);
409 } 409 }
410 m_set_userstatus(status, strlen((char*)status)+1); 410 m_set_userstatus(m_get_userstatus_kind(0), status, strlen((char*)status)+1);
411 statusloaded = 1; 411 statusloaded = 1;
412 printf("%s\n", status); 412 printf("%s\n", status);
413 fclose(status_file); 413 fclose(status_file);