a44421a79fb36cc2036fe116b97ea3bc9590cd0c braney Fri Dec 2 09:34:39 2011 -0800 removed rcsid (#295) diff --git src/hg/cgiExample/cgiExample.c src/hg/cgiExample/cgiExample.c index c808472..790c4a2 100644 --- src/hg/cgiExample/cgiExample.c +++ src/hg/cgiExample/cgiExample.c @@ -1,23 +1,22 @@ /* cgiExample - An example cgi program that uses mySQL. */ #include "common.h" #include "cheapcgi.h" #include "htmshell.h" #include "jksql.h" #include "knownInfo.h" -static char const rcsid[] = "$Id: cgiExample.c,v 1.2 2003/05/06 07:22:14 kate Exp $"; char *lookupName(struct sqlConnection *conn, char *table, unsigned id) /* Look up name based on numerical id in given table. Return "n/a" if * not found. The return value is overwritten by the next call to this * routine. */ { char query[256]; static char buf[256]; char *result; sprintf(query, "select name from %s where id = %u", table, id); result = sqlQuickQuery(conn, query, buf, sizeof(buf)); if (result == NULL) result = "n/a"; return result;