All pastes #233180 Raw Edit

Untitled

public c v1 · immutable
·published 2006-11-01 20:20 UTC
rendered paste body
#include <stdio.h>#include <curl/curl.h>#include <string.h>#include <stdlib.h>#include "commons.h"#define REPONSE " [:cate winigan]"int main ( int argc, char *argv[] ){        char *mycomment ;        mycomment = (char *)malloc((strlen(argv[1])+strlen(REPONSE) +1 )*sizeof(char));        strcpy(mycomment, argv[1]);        strcat(mycomment, REPONSE);        postmycomment(mycomment, argv[2], argv[3]);        free(mycomment);}