~ysu/gemini-chatroom

ref: 91028756563599c78745ae4d5447ab09b88a7403 gemini-chatroom/bin/chat0/postuser.c -rw-r--r-- 189 bytes
91028756 — vps rewrote in c 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int
main()
{
	if (getenv("QUERY_STRING") == NULL)
		puts("10 username \r");
	printf("30 post/%s\r\n", getenv("QUERY_STRING"));
}