summaryrefslogtreecommitdiff
path: root/src/tmp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tmp')
-rw-r--r--src/tmp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tmp b/src/tmp
new file mode 100644
index 0000000..b685a93
--- /dev/null
+++ b/src/tmp
@@ -0,0 +1,10 @@
+static void proto_recv_init(char *msg)
+{
+ char cmd[STR_SIZE];
+ tux_t *tux;
+
+ tux = newTux();
+ sscanf(msg, "%s %d\n", cmd, &tux->id);
+ my_tux_id = tux->id;
+ addList(listTux, tux);
+} \ No newline at end of file